mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-02 15:36:16 +02:00
08969144ad
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21178 3c298f89-4303-0410-b956-a3cf2f4a3e73
17 lines
414 B
Diff
17 lines
414 B
Diff
--- a/net/mac80211/cfg.c
|
|
+++ b/net/mac80211/cfg.c
|
|
@@ -1115,6 +1115,13 @@ static int ieee80211_change_bss(struct w
|
|
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;
|