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>
This commit is contained in:
committed by
John W. Linville
parent
60ece4047e
commit
97ad9139fd
@@ -131,7 +131,7 @@ static int mesh_path_sel_frame_tx(enum mpath_frame_type action, u8 flags,
|
||||
memcpy(mgmt->sa, sdata->vif.addr, ETH_ALEN);
|
||||
/* BSSID == SA */
|
||||
memcpy(mgmt->bssid, sdata->vif.addr, ETH_ALEN);
|
||||
mgmt->u.action.category = MESH_PATH_SEL_CATEGORY;
|
||||
mgmt->u.action.category = WLAN_CATEGORY_MESH_PATH_SEL;
|
||||
mgmt->u.action.u.mesh_action.action_code = MESH_PATH_SEL_ACTION;
|
||||
|
||||
switch (action) {
|
||||
@@ -224,7 +224,7 @@ int mesh_path_error_tx(u8 ttl, u8 *target, __le32 target_sn,
|
||||
memcpy(mgmt->da, ra, ETH_ALEN);
|
||||
memcpy(mgmt->sa, sdata->vif.addr, ETH_ALEN);
|
||||
/* BSSID is left zeroed, wildcard value */
|
||||
mgmt->u.action.category = MESH_PATH_SEL_CATEGORY;
|
||||
mgmt->u.action.category = WLAN_CATEGORY_MESH_PATH_SEL;
|
||||
mgmt->u.action.u.mesh_action.action_code = MESH_PATH_SEL_ACTION;
|
||||
ie_len = 15;
|
||||
pos = skb_put(skb, 2 + ie_len);
|
||||
|
Reference in New Issue
Block a user