scripts/config: warn on deprected "depends" syntax instead of throwing a syntax error
[openwrt/svn-archive/archive.git] / package / network / services / hostapd / patches / 330-fix_reassoc_after_ack_failure.patch
1 --- a/src/ap/sta_info.c
2 +++ b/src/ap/sta_info.c
3 @@ -576,7 +576,7 @@ void ap_sta_disassociate(struct hostapd_
4 {
5 wpa_printf(MSG_DEBUG, "%s: disassociate STA " MACSTR,
6 hapd->conf->iface, MAC2STR(sta->addr));
7 - sta->flags &= ~WLAN_STA_ASSOC;
8 + sta->flags &= ~(WLAN_STA_ASSOC | WLAN_STA_ASSOC_REQ_OK);
9 ap_sta_set_authorized(hapd, sta, 0);
10 sta->timeout_next = STA_DEAUTH;
11 wpa_printf(MSG_DEBUG, "%s: reschedule ap_handle_timer timeout "