From 445a6c984eddf9b3859511f30daa49e4eac74251 Mon Sep 17 00:00:00 2001 From: Shan Wei Date: Wed, 15 Dec 2010 14:27:28 +0800 Subject: [PATCH] wireless:mac80211: kill unuse macro MESH_CFG_CMP_LEN in mesh.h Commit 5da166fb has removed the references of this macro, but left it only. So remove this definition. commit 5da166fb31ec4663da25a6aa030a1212865e6136 Author: Johannes Berg Date: Tue Feb 10 21:26:00 2009 +0100 mac80211: use cfg80211s BSS infrastructure Remove all the code from mac80211 to keep track of BSSes and use the cfg80211-provided code completely. Signed-off-by: Shan Wei Signed-off-by: John W. Linville --- net/mac80211/mesh.h | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/net/mac80211/mesh.h b/net/mac80211/mesh.h index 039d7fa0af742..5b828fa8c5414 100644 --- a/net/mac80211/mesh.h +++ b/net/mac80211/mesh.h @@ -164,17 +164,6 @@ struct mesh_rmc { }; -/* - * MESH_CFG_COMP_LEN Includes: - * - Active path selection protocol ID. - * - Active path selection metric ID. - * - Congestion control mode identifier. - * - Channel precedence. - * Does not include mesh capabilities, which may vary across nodes in the same - * mesh - */ -#define MESH_CFG_CMP_LEN (IEEE80211_MESH_CONFIG_LEN - 2) - #define MESH_DEFAULT_BEACON_INTERVAL 1000 /* in 1024 us units */ #define MESH_PATH_EXPIRE (600 * HZ) -- 2.39.5