projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd8aaaf
)
mac80211: implement ap isolation support
author
Felix Fietkau
<nbd@openwrt.org>
Mon, 26 Apr 2010 23:23:36 +0000
(
01:23
+0200)
committer
John W. Linville
<linville@tuxdriver.com>
Tue, 27 Apr 2010 20:09:21 +0000
(16:09 -0400)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/cfg.c
patch
|
blob
|
blame
|
history
diff --git
a/net/mac80211/cfg.c
b/net/mac80211/cfg.c
index 592f07d2ae5cab8c098230fe5edf7a47b36b1c75..e13fb3a622398907a01063d31ae8b59e581e6a0f 100644
(file)
--- a/
net/mac80211/cfg.c
+++ b/
net/mac80211/cfg.c
@@
-1113,6
+1113,13
@@
static int ieee80211_change_bss(struct wiphy *wiphy,
changed |= BSS_CHANGED_BASIC_RATES;
}
+ if (params->ap_isolate >= 0) {
+ if (params->ap_isolate)
+ sdata->flags |= IEEE80211_SDATA_DONT_BRIDGE_PACKETS;
+ else
+ sdata->flags &= ~IEEE80211_SDATA_DONT_BRIDGE_PACKETS;
+ }
+
ieee80211_bss_info_change_notify(sdata, changed);
return 0;