diff options
author | Ashok Nagarajan <ashok@cozybit.com> | 2012-10-09 22:27:47 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2012-10-17 11:02:13 +0200 |
commit | 1258d97616fdca9abc0c21f2edeb1d5b21dcb128 (patch) | |
tree | a882b7f737871aae3a3351ed735b327de861fd23 /net/mac80211/mesh.h | |
parent | mac80211: Use appropriate debug wrapper (diff) | |
download | linux-1258d97616fdca9abc0c21f2edeb1d5b21dcb128.tar.xz linux-1258d97616fdca9abc0c21f2edeb1d5b21dcb128.zip |
mac80211: move out the non-statistics variable estab_plinks from mesh_stat
estab_plinks is not a statistics member. Hence move estab_plinks from
struct mesh_stat to struct ieee80211_if_mesh
Signed-off-by: Ashok Nagarajan <ashok@cozybit.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/mesh.h')
-rw-r--r-- | net/mac80211/mesh.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/mesh.h b/net/mac80211/mesh.h index 25d0f17dec71..8334e9445195 100644 --- a/net/mac80211/mesh.h +++ b/net/mac80211/mesh.h @@ -324,7 +324,7 @@ extern int mesh_allocated; static inline int mesh_plink_free_count(struct ieee80211_sub_if_data *sdata) { return sdata->u.mesh.mshcfg.dot11MeshMaxPeerLinks - - atomic_read(&sdata->u.mesh.mshstats.estab_plinks); + atomic_read(&sdata->u.mesh.estab_plinks); } static inline bool mesh_plink_availables(struct ieee80211_sub_if_data *sdata) |