don't deauth a station because it sends a ps-poll w/ a bogus aid in it;
turns out some devices do this and since we otherwise validate the station is associated and don't use the aid for anything being lenient here allows them to function Submitted by: Chris Zimmermann MFC after: 2 weeks
This commit is contained in:
parent
e2ed8f3514
commit
693e312235
@ -2199,8 +2199,14 @@ hostap_recv_pspoll(struct ieee80211_node *ni, struct mbuf *m0)
|
||||
"aid mismatch: sta aid 0x%x poll aid 0x%x",
|
||||
ni->ni_associd, aid);
|
||||
vap->iv_stats.is_ps_badaid++;
|
||||
IEEE80211_SEND_MGMT(ni, IEEE80211_FC0_SUBTYPE_DEAUTH,
|
||||
IEEE80211_REASON_NOT_ASSOCED);
|
||||
/*
|
||||
* NB: We used to deauth the station but it turns out
|
||||
* the Blackberry Curve 8230 (and perhaps other devices)
|
||||
* sometimes send the wrong AID when WME is negotiated.
|
||||
* Being more lenient here seems ok as we already check
|
||||
* the station is associated and we only return frames
|
||||
* queued for the station (i.e. we don't use the AID).
|
||||
*/
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user