aboutsummaryrefslogtreecommitdiffstats
path: root/package
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
commita3c6b189aec93e559c87f95feab283cbd40555d6 (patch)
treebad755acc5a3b9b6d5fb959817ad45bcffb33127 /package
parent90c84fd003b05d44bcbf47329c2089a7e67b301e (diff)
downloadupstream-a3c6b189aec93e559c87f95feab283cbd40555d6.tar.gz
upstream-a3c6b189aec93e559c87f95feab283cbd40555d6.tar.bz2
upstream-a3c6b189aec93e559c87f95feab283cbd40555d6.zip
hostapd: fix client reassociation after too many ACK failures
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35973 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-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 "