aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/services/hostapd
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-02-28 14:43:53 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-02-28 14:43:53 +0000
commita9d4cd35fc6f82bcca720cc3e371704763ba3433 (patch)
tree015dd99e673d8734a978994f741e423b97c6e49a /package/network/services/hostapd
parent802d17ceaf2152d305af7c8afce44319a8eb970f (diff)
downloadupstream-a9d4cd35fc6f82bcca720cc3e371704763ba3433.tar.gz
upstream-a9d4cd35fc6f82bcca720cc3e371704763ba3433.tar.bz2
upstream-a9d4cd35fc6f82bcca720cc3e371704763ba3433.zip
hostapd: fix deletion of wds sta interfaces in AP mode
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 39765
Diffstat (limited to 'package/network/services/hostapd')
-rw-r--r--package/network/services/hostapd/patches/130-wds_sta_del_fix.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/package/network/services/hostapd/patches/130-wds_sta_del_fix.patch b/package/network/services/hostapd/patches/130-wds_sta_del_fix.patch
new file mode 100644
index 0000000000..06b69069e7
--- /dev/null
+++ b/package/network/services/hostapd/patches/130-wds_sta_del_fix.patch
@@ -0,0 +1,13 @@
+--- a/src/drivers/driver_nl80211.c
++++ b/src/drivers/driver_nl80211.c
+@@ -9083,8 +9083,8 @@ static int i802_set_wds_sta(void *priv,
+ name);
+
+ i802_set_sta_vlan(priv, addr, bss->ifname, 0);
+- return wpa_driver_nl80211_if_remove(priv, WPA_IF_AP_VLAN,
+- name);
++ nl80211_remove_iface(drv, if_nametoindex(name));
++ return 0;
+ }
+ }
+