aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/rx.c
diff options
context:
space:
mode:
authorJavier Cardona <javier@cozybit.com>2010-03-29 14:00:21 -0400
committerJohn W. Linville <linville@tuxdriver.com>2010-04-08 15:24:07 -0400
commit97ad9139fd68b5c71f44d28d3f9788d89cfd4916 (patch)
treea4b270e9fc7c55a4c6fc4df5e13cf399463fde27 /net/mac80211/rx.c
parent60ece4047e4870c7be28dcf661162d8312c161e7 (diff)
mac80211: Moved mesh action codes to a more visible location
Grouped mesh action codes together with the other action codes in ieee80211.h. Signed-off-by: Javier Cardona <javier@cozybit.com> Reviewed-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/rx.c')
-rw-r--r--net/mac80211/rx.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/mac80211/rx.c b/net/mac80211/rx.c
index c0ad7e879a6e..d08ede44ac7e 100644
--- a/net/mac80211/rx.c
+++ b/net/mac80211/rx.c
@@ -490,7 +490,7 @@ ieee80211_rx_mesh_check(struct ieee80211_rx_data *rx)
490 490
491 if (ieee80211_is_action(hdr->frame_control)) { 491 if (ieee80211_is_action(hdr->frame_control)) {
492 mgmt = (struct ieee80211_mgmt *)hdr; 492 mgmt = (struct ieee80211_mgmt *)hdr;
493 if (mgmt->u.action.category != MESH_PLINK_CATEGORY) 493 if (mgmt->u.action.category != WLAN_CATEGORY_MESH_PLINK)
494 return RX_DROP_MONITOR; 494 return RX_DROP_MONITOR;
495 return RX_CONTINUE; 495 return RX_CONTINUE;
496 } 496 }
@@ -1994,8 +1994,8 @@ ieee80211_rx_h_action(struct ieee80211_rx_data *rx)
1994 goto handled; 1994 goto handled;
1995 } 1995 }
1996 break; 1996 break;
1997 case MESH_PLINK_CATEGORY: 1997 case WLAN_CATEGORY_MESH_PLINK:
1998 case MESH_PATH_SEL_CATEGORY: 1998 case WLAN_CATEGORY_MESH_PATH_SEL:
1999 if (ieee80211_vif_is_mesh(&sdata->vif)) 1999 if (ieee80211_vif_is_mesh(&sdata->vif))
2000 return ieee80211_mesh_rx_mgmt(sdata, rx->skb); 2000 return ieee80211_mesh_rx_mgmt(sdata, rx->skb);
2001 break; 2001 break;