From 674554fa6345f54fa023e135c3bbb8fd3554aeca Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Tue, 12 Mar 2013 00:19:25 +0000 Subject: [PATCH] hostapd: fix client reassociation after too many ACK failures SVN-Revision: 35973 --- .../patches/330-fix_reassoc_after_ack_failure.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 package/network/services/hostapd/patches/330-fix_reassoc_after_ack_failure.patch 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 " -- 2.30.2