summaryrefslogtreecommitdiffstats
path: root/net/mac80211/mesh_hwmp.c
diff options
context:
space:
mode:
authorRui Paulo <rpaulo@gmail.com>2009-11-10 00:46:44 +0100
committerJohn W. Linville <linville@tuxdriver.com>2009-11-11 21:23:58 +0100
commit095de01325962e7574d5793193c6f3ae9a175aab (patch)
tree9769c526809d8bd63533aeccbd96ae6e6e3e7874 /net/mac80211/mesh_hwmp.c
parentmac80211: update peer link management IE and action frames (diff)
downloadlinux-095de01325962e7574d5793193c6f3ae9a175aab.tar.xz
linux-095de01325962e7574d5793193c6f3ae9a175aab.zip
mac80211: update the format of path selection frames
Update the format of path selection frames according to latest draft (3.03). Signed-off-by: Rui Paulo <rpaulo@gmail.com> Signed-off-by: Javier Cardona <javier@cozybit.com> Reviewed-by: Andrey Yurovsky <andrey@cozybit.com> Tested-by: Brian Cavagnolo <brian@cozybit.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/mesh_hwmp.c')
-rw-r--r--net/mac80211/mesh_hwmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/mesh_hwmp.c b/net/mac80211/mesh_hwmp.c
index 29b82e98effa..c291cdb75317 100644
--- a/net/mac80211/mesh_hwmp.c
+++ b/net/mac80211/mesh_hwmp.c
@@ -105,7 +105,7 @@ static int mesh_path_sel_frame_tx(enum mpath_frame_type action, u8 flags,
memcpy(mgmt->sa, sdata->dev->dev_addr, ETH_ALEN);
/* BSSID is left zeroed, wildcard value */
mgmt->u.action.category = MESH_PATH_SEL_CATEGORY;
- mgmt->u.action.u.mesh_action.action_code = action;
+ mgmt->u.action.u.mesh_action.action_code = MESH_PATH_SEL_ACTION;
switch (action) {
case MPATH_PREQ: