diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2008-10-28 13:12:57 +0300 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-11-10 23:10:16 +0300 |
commit | 1239cd58d237fa6ad501acaec8776262a5784ec8 (patch) | |
tree | 13f991cfc6a77e52a336aa75a94d94f5fd919f68 /net/mac80211/scan.c | |
parent | 97c8b013da7a8ec7aa0a192489d4e7a33c4127fc (diff) | |
download | linux-1239cd58d237fa6ad501acaec8776262a5784ec8.tar.xz |
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/scan.c')
-rw-r--r-- | net/mac80211/scan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/scan.c b/net/mac80211/scan.c index 7372d7abb8c0..f5c7c3371929 100644 --- a/net/mac80211/scan.c +++ b/net/mac80211/scan.c @@ -159,7 +159,7 @@ ieee80211_rx_mesh_bss_add(struct ieee80211_local *local, u8 *mesh_id, int mesh_i { struct ieee80211_bss *bss; - if (mesh_config_len != MESH_CFG_LEN) + if (mesh_config_len != IEEE80211_MESH_CONFIG_LEN) return NULL; bss = kzalloc(sizeof(*bss), GFP_ATOMIC); |