diff options
author | Felix Fietkau <nbd@openwrt.org> | 2010-01-20 02:26:00 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2010-01-20 02:26:00 +0000 |
commit | c61daab867671af884a7bb707f9bc0f086241bcd (patch) | |
tree | 1bdffb8eb3adaf20bcea17dcf3f45cc01589802e /package/hostapd/patches/140-wds_sta_remove.patch | |
parent | 131c3e1c721c2faffbe58a10eaf4aae222ae88e0 (diff) | |
download | mtk-20170518-c61daab867671af884a7bb707f9bc0f086241bcd.zip mtk-20170518-c61daab867671af884a7bb707f9bc0f086241bcd.tar.gz mtk-20170518-c61daab867671af884a7bb707f9bc0f086241bcd.tar.bz2 |
hostapd: upgrade to latest git version, add patches to fix multi-bss support with a single hostapd instance
SVN-Revision: 19234
Diffstat (limited to 'package/hostapd/patches/140-wds_sta_remove.patch')
-rw-r--r-- | package/hostapd/patches/140-wds_sta_remove.patch | 12 |
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 0000000..80e036e --- /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); |