mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-18 06:26:14 +02:00
hostapd: add missing check for wds stations
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29559 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
de50d6624f
commit
f76aa7d459
12
package/hostapd/patches/760-fix_wds_sta_check.patch
Normal file
12
package/hostapd/patches/760-fix_wds_sta_check.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
--- a/src/ap/ieee802_11.c
|
||||||
|
+++ b/src/ap/ieee802_11.c
|
||||||
|
@@ -1774,6 +1774,9 @@ void ieee802_11_rx_from_unknown(struct h
|
||||||
|
|
||||||
|
sta = ap_get_sta(hapd, src);
|
||||||
|
if (sta && (sta->flags & WLAN_STA_ASSOC)) {
|
||||||
|
+ if (!hapd->conf->wds_sta)
|
||||||
|
+ return;
|
||||||
|
+
|
||||||
|
if (wds && !(sta->flags & WLAN_STA_WDS)) {
|
||||||
|
wpa_printf(MSG_DEBUG, "Enable 4-address WDS mode for "
|
||||||
|
"STA " MACSTR " (aid %u)",
|
Loading…
Reference in New Issue
Block a user