projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50b12f5
)
mac80211: Apply ht_opmode changes in ieee80211_change_bss
author
Helmut Schaa
<helmut.schaa@googlemail.com>
Fri, 19 Nov 2010 11:40:26 +0000
(12:40 +0100)
committer
John W. Linville
<linville@tuxdriver.com>
Wed, 8 Dec 2010 20:38:43 +0000
(15:38 -0500)
Cc: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/cfg.c
patch
|
blob
|
history
diff --git
a/net/mac80211/cfg.c
b/net/mac80211/cfg.c
index af96204063218c7d084e82248d488d4b59897660..c30b8b72eedb8392983772c9575e5245aea1aee4 100644
(file)
--- a/
net/mac80211/cfg.c
+++ b/
net/mac80211/cfg.c
@@
-1134,6
+1134,12
@@
static int ieee80211_change_bss(struct wiphy *wiphy,
sdata->flags &= ~IEEE80211_SDATA_DONT_BRIDGE_PACKETS;
}
+ if (params->ht_opmode >= 0) {
+ sdata->vif.bss_conf.ht_operation_mode =
+ (u16) params->ht_opmode;
+ changed |= BSS_CHANGED_HT;
+ }
+
ieee80211_bss_info_change_notify(sdata, changed);
return 0;