diff options
author | Felix Fietkau <nbd@openwrt.org> | 2012-04-16 21:08:41 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2012-04-16 21:08:41 +0000 |
commit | e4f208ebf3029f415cf0a79d41ea27fa45c2a62c (patch) | |
tree | f3d4a3ace1fce602fa8b9fb1e3c84e817c712d49 /package/mac80211/patches/520-mac80211_ht_change_rate_update.patch | |
parent | c47c2671d413055a8753f2aec429a8d072c5ed9a (diff) | |
download | master-187ad058-e4f208ebf3029f415cf0a79d41ea27fa45c2a62c.tar.gz master-187ad058-e4f208ebf3029f415cf0a79d41ea27fa45c2a62c.tar.bz2 master-187ad058-e4f208ebf3029f415cf0a79d41ea27fa45c2a62c.zip |
mac80211: update to wireless-testing 2012-04-13
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31322 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mac80211/patches/520-mac80211_ht_change_rate_update.patch')
-rw-r--r-- | package/mac80211/patches/520-mac80211_ht_change_rate_update.patch | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/package/mac80211/patches/520-mac80211_ht_change_rate_update.patch b/package/mac80211/patches/520-mac80211_ht_change_rate_update.patch deleted file mode 100644 index 341e487d03..0000000000 --- a/package/mac80211/patches/520-mac80211_ht_change_rate_update.patch +++ /dev/null @@ -1,35 +0,0 @@ ---- a/net/mac80211/main.c -+++ b/net/mac80211/main.c -@@ -197,7 +197,9 @@ void ieee80211_bss_info_change_notify(st - u32 changed) - { - struct ieee80211_local *local = sdata->local; -+ struct ieee80211_supported_band *sband; - static const u8 zero[ETH_ALEN] = { 0 }; -+ struct sta_info *sta; - - if (!changed) - return; -@@ -219,6 +221,22 @@ void ieee80211_bss_info_change_notify(st - - switch (sdata->vif.type) { - case NL80211_IFTYPE_AP: -+ if (!(changed & BSS_CHANGED_HT)) -+ break; -+ -+ sband = local->hw.wiphy->bands[local->hw.conf.channel->band]; -+ rcu_read_lock(); -+ list_for_each_entry(sta, &local->sta_list, list) { -+ if (sta->sdata != sdata && -+ (!sdata->bss || sta->sdata->bss != sdata->bss)) -+ continue; -+ -+ rate_control_rate_update(local, sband, sta, -+ IEEE80211_RC_HT_CHANGED, -+ local->_oper_channel_type); -+ } -+ rcu_read_unlock(); -+ break; - case NL80211_IFTYPE_ADHOC: - case NL80211_IFTYPE_WDS: - case NL80211_IFTYPE_MESH_POINT: |