aboutsummaryrefslogtreecommitdiffstats
path: root/package/network
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-03-12 00:19:25 +0000
committerFelix Fietkau <nbd@openwrt.org>2013-03-12 00:19:25 +0000
commit9ddc45bc3f0b8428dc67d0b3b936a8f2366c5b1c (patch)
treecd481704ac46a1793a2cc47586045e25ca948d4d /package/network
parentfe3df4b593d4d203a89781b4632e4a6f9f570734 (diff)
downloadupstream-9ddc45bc3f0b8428dc67d0b3b936a8f2366c5b1c.tar.gz
upstream-9ddc45bc3f0b8428dc67d0b3b936a8f2366c5b1c.tar.bz2
upstream-9ddc45bc3f0b8428dc67d0b3b936a8f2366c5b1c.zip
hostapd: fix client reassociation after too many ACK failures
SVN-Revision: 35973
Diffstat (limited to 'package/network')
-rw-r--r--package/network/services/hostapd/patches/330-fix_reassoc_after_ack_failure.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/network/services/hostapd/patches/330-fix_reassoc_after_ack_failure.patch b/package/network/services/hostapd/patches/330-fix_reassoc_after_ack_failure.patch
new file mode 100644
index 0000000000..a91e4aed5d
--- /dev/null
+++ b/package/network/services/hostapd/patches/330-fix_reassoc_after_ack_failure.patch
@@ -0,0 +1,11 @@
+--- a/src/ap/sta_info.c
++++ b/src/ap/sta_info.c
+@@ -576,7 +576,7 @@ void ap_sta_disassociate(struct hostapd_
+ {
+ wpa_printf(MSG_DEBUG, "%s: disassociate STA " MACSTR,
+ hapd->conf->iface, MAC2STR(sta->addr));
+- sta->flags &= ~WLAN_STA_ASSOC;
++ sta->flags &= ~(WLAN_STA_ASSOC | WLAN_STA_ASSOC_REQ_OK);
+ ap_sta_set_authorized(hapd, sta, 0);
+ sta->timeout_next = STA_DEAUTH;
+ wpa_printf(MSG_DEBUG, "%s: reschedule ap_handle_timer timeout "