Message ID | 1431337193-17472-1-git-send-email-janusz.dziedzic@tieto.com (mailing list archive) |
---|---|
State | Changes Requested |
Delegated to: | Johannes Berg |
Headers | show |
On Mon, 2015-05-11 at 11:39 +0200, Janusz Dziedzic wrote: > This is required to handle sta.wme correctly > after update rates (eg. when using HT/VHT) when > driver using IEEE80211_HW_SUPPORT_FAST_XMIT. Wouldn't you want to check, so it can be re-assigned? johannes -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/net/mac80211/ibss.c b/net/mac80211/ibss.c index bfef1b2..f76414e 100644 --- a/net/mac80211/ibss.c +++ b/net/mac80211/ibss.c @@ -1087,6 +1087,7 @@ static void ieee80211_update_sta_info(struct ieee80211_sub_if_data *sdata, if (sta->sta.rx_nss != rx_nss) changed |= IEEE80211_RC_NSS_CHANGED; + ieee80211_clear_fast_xmit(sta); drv_sta_rc_update(local, sdata, &sta->sta, changed); }
This is required to handle sta.wme correctly after update rates (eg. when using HT/VHT) when driver using IEEE80211_HW_SUPPORT_FAST_XMIT. In other case fast tx path will not add QOS data and in case of ath10k driver (rate control in the HW) only legacy rates will be used. Signed-off-by: Janusz Dziedzic <janusz.dziedzic@tieto.com> --- net/mac80211/ibss.c | 1 + 1 file changed, 1 insertion(+)