Commit 3c384053 authored by Vasanthakumar's avatar Vasanthakumar Committed by John W. Linville

mac80211: Don't call rate control when HW handles it

Rate control should not be called to update the tx status
when HW does the RC.
Signed-off-by: default avatarVasanthakumar <vasanth@atheros.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent b4d57adb
...@@ -44,6 +44,10 @@ static inline void rate_control_tx_status(struct ieee80211_local *local, ...@@ -44,6 +44,10 @@ static inline void rate_control_tx_status(struct ieee80211_local *local,
struct rate_control_ref *ref = local->rate_ctrl; struct rate_control_ref *ref = local->rate_ctrl;
struct ieee80211_sta *ista = &sta->sta; struct ieee80211_sta *ista = &sta->sta;
void *priv_sta = sta->rate_ctrl_priv; void *priv_sta = sta->rate_ctrl_priv;
if (!ref)
return;
ref->ops->tx_status(ref->priv, sband, ista, priv_sta, skb); ref->ops->tx_status(ref->priv, sband, ista, priv_sta, skb);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment