aboutsummaryrefslogtreecommitdiffstats
path: root/package/hostapd/patches/140-wds_sta_remove.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-01-20 02:26:00 +0000
committerFelix Fietkau <nbd@openwrt.org>2010-01-20 02:26:00 +0000
commitace5b9f653047e5ca92bf41a5e8706246eaff346 (patch)
treee6a906f8f05d9071a63a33d03aa990593b6d916d /package/hostapd/patches/140-wds_sta_remove.patch
parent3120cbaa38744ec0aaa571be69089bfa7e105a87 (diff)
downloadmaster-187ad058-ace5b9f653047e5ca92bf41a5e8706246eaff346.tar.gz
master-187ad058-ace5b9f653047e5ca92bf41a5e8706246eaff346.tar.bz2
master-187ad058-ace5b9f653047e5ca92bf41a5e8706246eaff346.zip
hostapd: upgrade to latest git version, add patches to fix multi-bss support with a single hostapd instance
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19234 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/hostapd/patches/140-wds_sta_remove.patch')
-rw-r--r--package/hostapd/patches/140-wds_sta_remove.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/hostapd/patches/140-wds_sta_remove.patch b/package/hostapd/patches/140-wds_sta_remove.patch
new file mode 100644
index 0000000000..80e036eef9
--- /dev/null
+++ b/package/hostapd/patches/140-wds_sta_remove.patch
@@ -0,0 +1,12 @@
+--- a/src/ap/sta_info.c
++++ b/src/ap/sta_info.c
+@@ -121,7 +121,8 @@ void ap_free_sta(struct hostapd_data *ha
+
+ accounting_sta_stop(hapd, sta);
+
+- hapd->drv.set_wds_sta(hapd, sta->addr, sta->aid, 0);
++ if (sta->flags & WLAN_STA_WDS)
++ hapd->drv.set_wds_sta(hapd, sta->addr, sta->aid, 0);
+ if (!ap_sta_in_other_bss(hapd, sta, WLAN_STA_ASSOC) &&
+ !(sta->flags & WLAN_STA_PREAUTH))
+ hapd->drv.sta_remove(hapd, sta->addr);