diff options
author | Johannes Berg <johannes.berg@intel.com> | 2012-03-30 02:43:32 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-04-10 14:54:08 -0400 |
commit | 8f727ef3c4859f2c397a7609beb845dcd66729f5 (patch) | |
tree | 9843df4721d5510c464f7ea4e1f4da940b247c80 /net/mac80211/mlme.c | |
parent | 7213cf2cb0dfbb4d6b55a1da000d34338f76c0e3 (diff) |
mac80211: notify driver of rate control updates
Devices that have internal rate control need to be
notified when the bandwidth or SMPS state changes
just like external rate control algorithms get a
notification now.
Add this notification and clarify the change bits
while at it, the HT_CHANGED bit really meant only
bandwidth changed.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/mlme.c')
-rw-r--r-- | net/mac80211/mlme.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c index 594af5f4079c..4974f998c7dd 100644 --- a/net/mac80211/mlme.c +++ b/net/mac80211/mlme.c | |||
@@ -219,7 +219,7 @@ static u32 ieee80211_config_ht_tx(struct ieee80211_sub_if_data *sdata, | |||
219 | sta->sta.ht_cap.cap |= IEEE80211_HT_CAP_SUP_WIDTH_20_40; | 219 | sta->sta.ht_cap.cap |= IEEE80211_HT_CAP_SUP_WIDTH_20_40; |
220 | 220 | ||
221 | rate_control_rate_update(local, sband, sta, | 221 | rate_control_rate_update(local, sband, sta, |
222 | IEEE80211_RC_HT_CHANGED); | 222 | IEEE80211_RC_BW_CHANGED); |
223 | } | 223 | } |
224 | mutex_unlock(&local->sta_mtx); | 224 | mutex_unlock(&local->sta_mtx); |
225 | 225 | ||