aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJouni Malinen <jouni.malinen@atheros.com>2009-11-16 12:54:08 -0500
committerJohn W. Linville <linville@tuxdriver.com>2009-11-16 14:17:14 -0500
commitb23709248fc9b6d5877f9c741d639a160ed21ff6 (patch)
treed7be06b4fbfacd1c9cf9d0c44b0e762993d8120f
parent2eb2fa67e5462a36e98172fb92c78bc405b3035f (diff)
mac80211: Do not queue Probe Request frames for station MLME
Cooked monitor interfaces cannot currently receive Probe Request frames when the interface is in station mode. However, we do not process Probe Request frames internally in the station MLME, so there is no point in queueing the frame here. Remove Probe Request frames from the queued frame list to allow cooked monitor interfaces to receive these frames. Signed-off-by: Jouni Malinen <jouni.malinen@atheros.com> Reviewed-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r--net/mac80211/mlme.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c
index dcc14e99227c..2af306f67d78 100644
--- a/net/mac80211/mlme.c
+++ b/net/mac80211/mlme.c
@@ -1898,7 +1898,6 @@ ieee80211_rx_result ieee80211_sta_rx_mgmt(struct ieee80211_sub_if_data *sdata,
1898 fc = le16_to_cpu(mgmt->frame_control); 1898 fc = le16_to_cpu(mgmt->frame_control);
1899 1899
1900 switch (fc & IEEE80211_FCTL_STYPE) { 1900 switch (fc & IEEE80211_FCTL_STYPE) {
1901 case IEEE80211_STYPE_PROBE_REQ:
1902 case IEEE80211_STYPE_PROBE_RESP: 1901 case IEEE80211_STYPE_PROBE_RESP:
1903 case IEEE80211_STYPE_BEACON: 1902 case IEEE80211_STYPE_BEACON:
1904 case IEEE80211_STYPE_AUTH: 1903 case IEEE80211_STYPE_AUTH: