diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2014-02-28 14:43:53 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2014-02-28 14:43:53 +0000 |
commit | 6830268eb03329cbd9b76f4094cbb8b4e05137b4 (patch) | |
tree | af290cb704857dddf0b3575f6414a59a6bc13f32 /package | |
parent | 977dd5c821fdda9cbd1a2b699a86d572003edc5d (diff) |
hostapd: fix deletion of wds sta interfaces in AP mode
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39765 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r-- | package/network/services/hostapd/patches/130-wds_sta_del_fix.patch | 13 |
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; + } + } + |