aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/mlme.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2008-09-08 10:31:48 -0400
committerJohn W. Linville <linville@tuxdriver.com>2008-09-11 15:53:35 -0400
commit5fd12d4da198647e834f93f163e20bfcdd33bad8 (patch)
treedc441e034386f99a28f23752bc6b976e3192798f /net/mac80211/mlme.c
parent9c80d3dc272ec5ce44a7564e5392f950ad38357a (diff)
mac80211: fix typo in action frame handling
This says chan_switch.action_code but really means measurement.action_code, of course the actual offset in the frame is the same, it's just harder to understand this way. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/mlme.c')
-rw-r--r--net/mac80211/mlme.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c
index eb1832aa1fe5..2341e5b3c248 100644
--- a/net/mac80211/mlme.c
+++ b/net/mac80211/mlme.c
@@ -2996,7 +2996,7 @@ static void ieee80211_rx_mgmt_action(struct ieee80211_sub_if_data *sdata,
2996 case WLAN_CATEGORY_SPECTRUM_MGMT: 2996 case WLAN_CATEGORY_SPECTRUM_MGMT:
2997 if (local->hw.conf.channel->band != IEEE80211_BAND_5GHZ) 2997 if (local->hw.conf.channel->band != IEEE80211_BAND_5GHZ)
2998 break; 2998 break;
2999 switch (mgmt->u.action.u.chan_switch.action_code) { 2999 switch (mgmt->u.action.u.measurement.action_code) {
3000 case WLAN_ACTION_SPCT_MSR_REQ: 3000 case WLAN_ACTION_SPCT_MSR_REQ:
3001 if (len < (IEEE80211_MIN_ACTION_SIZE + 3001 if (len < (IEEE80211_MIN_ACTION_SIZE +
3002 sizeof(mgmt->u.action.u.measurement))) 3002 sizeof(mgmt->u.action.u.measurement)))