From: Felix Fietkau Date: Tue, 12 Mar 2013 00:25:14 +0000 (+0000) Subject: hostapd: fix client reassociation after too many ACK failures X-Git-Tag: attitude_adjustment_12.09~2 X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=82916d4093eb5e487dc338b7e961a3ff79944757;p=openwrt%2Fsvn-archive%2Fopenwrt.git hostapd: fix client reassociation after too many ACK failures Backport of r35973 SVN-Revision: 35974 --- 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 "