aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-03-12 00:25:14 +0000
committerFelix Fietkau <nbd@openwrt.org>2013-03-12 00:25:14 +0000
commitd3063b986ada9a588e507de88e05e5b63817d0c2 (patch)
treeb719b77c4f9b69f423150f90ed1f4f49ecf0467e
parent55f8c6df190d3740010523ba8aa8fe9a1a0e32e3 (diff)
downloadupstream-d3063b986ada9a588e507de88e05e5b63817d0c2.tar.gz
upstream-d3063b986ada9a588e507de88e05e5b63817d0c2.tar.bz2
upstream-d3063b986ada9a588e507de88e05e5b63817d0c2.zip
hostapd: fix client reassociation after too many ACK failures
Backport of r35973 git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@35974 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/hostapd/patches/330-fix_reassoc_after_ack_failure.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/hostapd/patches/330-fix_reassoc_after_ack_failure.patch b/package/hostapd/patches/330-fix_reassoc_after_ack_failure.patch
new file mode 100644
index 0000000000..05dde2a5ac
--- /dev/null
+++ b/package/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
+@@ -567,7 +567,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 "