|
@@ -808,7 +808,7 @@ static void __ieee80211_tx_status(struct ieee80211_hw *hw,
|
|
|
|
|
|
rate_control_tx_status(local, sband, status);
|
|
|
if (ieee80211_vif_is_mesh(&sta->sdata->vif))
|
|
|
- ieee80211s_update_metric(local, sta, skb);
|
|
|
+ ieee80211s_update_metric(local, sta, status);
|
|
|
|
|
|
if (!(info->flags & IEEE80211_TX_CTL_INJECTED) && acked)
|
|
|
ieee80211_frame_acked(sta, skb);
|
|
@@ -969,6 +969,8 @@ void ieee80211_tx_status_ext(struct ieee80211_hw *hw,
|
|
|
}
|
|
|
|
|
|
rate_control_tx_status(local, sband, status);
|
|
|
+ if (ieee80211_vif_is_mesh(&sta->sdata->vif))
|
|
|
+ ieee80211s_update_metric(local, sta, status);
|
|
|
}
|
|
|
|
|
|
if (acked || noack_success) {
|