diff options
author | Thomas Pedersen <thomas@cozybit.com> | 2011-08-11 22:35:15 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-08-22 14:46:00 -0400 |
commit | 25d49e4d63564c7004a4d6735d1d8c3cc41a7394 (patch) | |
tree | c052863386c4744beb808283cc3a3ff768d417e6 /net/mac80211/rx.c | |
parent | 36c704fded53ee0d6866e8ae7f7e3d29cd4315b9 (diff) |
mac80211: update mesh path selection frame format
Make mesh path selection frames Mesh Action category, remove outdated
Mesh Path Selection category and defines, use updated reason codes, add
mesh_action_is_path_sel for readability, and update/correct path
selection IEs.
Signed-off-by: Thomas Pedersen <thomas@cozybit.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/rx.c')
-rw-r--r-- | net/mac80211/rx.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/net/mac80211/rx.c b/net/mac80211/rx.c index 3fb6dea36536..c4453fdd6e11 100644 --- a/net/mac80211/rx.c +++ b/net/mac80211/rx.c | |||
@@ -2241,9 +2241,8 @@ ieee80211_rx_h_action(struct ieee80211_rx_data *rx) | |||
2241 | case WLAN_CATEGORY_MESH_ACTION: | 2241 | case WLAN_CATEGORY_MESH_ACTION: |
2242 | if (!ieee80211_vif_is_mesh(&sdata->vif)) | 2242 | if (!ieee80211_vif_is_mesh(&sdata->vif)) |
2243 | break; | 2243 | break; |
2244 | goto queue; | 2244 | if (mesh_action_is_path_sel(mgmt) && |
2245 | case WLAN_CATEGORY_MESH_PATH_SEL: | 2245 | (!mesh_path_sel_is_hwmp(sdata))) |
2246 | if (!mesh_path_sel_is_hwmp(sdata)) | ||
2247 | break; | 2246 | break; |
2248 | goto queue; | 2247 | goto queue; |
2249 | } | 2248 | } |