summaryrefslogtreecommitdiffstats
path: root/net/mac80211/mesh.c
diff options
context:
space:
mode:
authorJohannes Berg2008-10-28 11:12:57 +0100
committerJohn W. Linville2008-11-10 21:10:16 +0100
commit1239cd58d237fa6ad501acaec8776262a5784ec8 (patch)
tree13f991cfc6a77e52a336aa75a94d94f5fd919f68 /net/mac80211/mesh.c
parentmac80211: print reason code for deauth/dissoc frames (diff)
downloadkernel-qcow2-linux-1239cd58d237fa6ad501acaec8776262a5784ec8.tar.gz
kernel-qcow2-linux-1239cd58d237fa6ad501acaec8776262a5784ec8.tar.xz
kernel-qcow2-linux-1239cd58d237fa6ad501acaec8776262a5784ec8.zip
wireless: move mesh config length constant
This is a constant from the 802.11 specification. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Cc: Javier Cardona <javier@cozybit.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/mesh.c')
-rw-r--r--net/mac80211/mesh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/mesh.c b/net/mac80211/mesh.c
index d3b6e1a648bd..82f568e94365 100644
--- a/net/mac80211/mesh.c
+++ b/net/mac80211/mesh.c
@@ -238,7 +238,7 @@ void mesh_mgmt_ies_add(struct sk_buff *skb, struct ieee80211_sub_if_data *sdata)
pos = skb_put(skb, 21);
*pos++ = WLAN_EID_MESH_CONFIG;
- *pos++ = MESH_CFG_LEN;
+ *pos++ = IEEE80211_MESH_CONFIG_LEN;
/* Version */
*pos++ = 1;