summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorSam Leffler <sam@FreeBSD.org>2008-08-18 01:05:46 +0000
committerSam Leffler <sam@FreeBSD.org>2008-08-18 01:05:46 +0000
commit6256f19bc29242b2fdb8342d05a4f5e8da80b4b5 (patch)
treed3241ea0e601288bb432c153ac57214413b001a0 /sys
parent78f76e6bc8a978df00490858158219884c79a270 (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/net80211/ieee80211_input.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/sys/net80211/ieee80211_input.c b/sys/net80211/ieee80211_input.c
index 458afc8ea325..44652154bfd3 100644
--- a/sys/net80211/ieee80211_input.c
+++ b/sys/net80211/ieee80211_input.c
@@ -3107,8 +3107,14 @@ ieee80211_recv_pspoll(struct ieee80211com *ic,
"aid mismatch: sta aid 0x%x poll aid 0x%x",
ni->ni_associd, aid);
ic->ic_stats.is_ps_badaid++;
- IEEE80211_SEND_MGMT(ic, 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;
}