| To: | Jeff Garzik <jgarzik@xxxxxxxxx> |
|---|---|
| Subject: | [PATCH wireless-2.6 3/12] Host AP: Ignore (Re)AssocResp messages silently |
| From: | Jouni Malinen <jkmaline@xxxxxxxxx> |
| Date: | Sun, 7 Nov 2004 23:12:11 -0800 |
| Cc: | netdev@xxxxxxxxxxx |
| In-reply-to: | <20041108070156.GA1076@xxxxxxxxx> |
| References: | <20041108070156.GA1076@xxxxxxxxx> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| User-agent: | Mutt/1.5.6i |
Ignore (Re)AssocResp silently since these are not currently needed but
are still received when WPA/RSN mode is enabled.
Signed-off-by: Jouni Malinen <jkmaline@xxxxxxxxx>
diff -Nru a/drivers/net/wireless/hostap/hostap_80211_rx.c
b/drivers/net/wireless/hostap/hostap_80211_rx.c
--- a/drivers/net/wireless/hostap/hostap_80211_rx.c 2004-11-07 22:38:11
-08:00
+++ b/drivers/net/wireless/hostap/hostap_80211_rx.c 2004-11-07 22:38:11
-08:00
@@ -475,6 +475,13 @@
stype == WLAN_FC_STYPE_PROBE_RESP)) {
hostap_rx_sta_beacon(local, skb, stype);
return -1;
+ } else if (type == WLAN_FC_TYPE_MGMT &&
+ (stype == WLAN_FC_STYPE_ASSOC_RESP ||
+ stype == WLAN_FC_STYPE_REASSOC_RESP)) {
+ /* Ignore (Re)AssocResp silently since these are not currently
+ * needed but are still received when WPA/RSN mode is enabled.
+ */
+ return -1;
} else {
printk(KERN_DEBUG "%s: hostap_rx_frame_mgmt: dropped unhandled"
" management frame in non-Host AP mode (type=%d:%d)\n",
--
Jouni Malinen PGP id EFC895FA
|
| Previous by Date: | [PATCH wireless-2.6 2/12] Host AP: Fix interface packet counters, Jouni Malinen |
|---|---|
| Next by Date: | [PATCH wireless-2.6 4/12] Host AP: Remove ioctl debug messages, Jouni Malinen |
| Previous by Thread: | [PATCH wireless-2.6 2/12] Host AP: Fix interface packet counters, Jouni Malinen |
| Next by Thread: | [PATCH wireless-2.6 4/12] Host AP: Remove ioctl debug messages, Jouni Malinen |
| Indexes: | [Date] [Thread] [Top] [All Lists] |