diff options
author | Ashok Nagarajan <ashok@cozybit.com> | 2012-10-09 16:27:47 -0400 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2012-10-17 05:02:13 -0400 |
commit | 1258d97616fdca9abc0c21f2edeb1d5b21dcb128 (patch) | |
tree | a882b7f737871aae3a3351ed735b327de861fd23 /net/mac80211/ieee80211_i.h | |
parent | eea57d42fb148a078ebc2f54731b580fb9edeaf7 (diff) |
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/ieee80211_i.h')
-rw-r--r-- | net/mac80211/ieee80211_i.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h index f17c41acb310..b7382454d0a6 100644 --- a/net/mac80211/ieee80211_i.h +++ b/net/mac80211/ieee80211_i.h | |||
@@ -316,7 +316,6 @@ struct mesh_stats { | |||
316 | __u32 dropped_frames_ttl; /* Not transmitted since mesh_ttl == 0*/ | 316 | __u32 dropped_frames_ttl; /* Not transmitted since mesh_ttl == 0*/ |
317 | __u32 dropped_frames_no_route; /* Not transmitted, no route found */ | 317 | __u32 dropped_frames_no_route; /* Not transmitted, no route found */ |
318 | __u32 dropped_frames_congestion;/* Not forwarded due to congestion */ | 318 | __u32 dropped_frames_congestion;/* Not forwarded due to congestion */ |
319 | atomic_t estab_plinks; | ||
320 | }; | 319 | }; |
321 | 320 | ||
322 | #define PREQ_Q_F_START 0x1 | 321 | #define PREQ_Q_F_START 0x1 |
@@ -599,6 +598,7 @@ struct ieee80211_if_mesh { | |||
599 | int preq_queue_len; | 598 | int preq_queue_len; |
600 | struct mesh_stats mshstats; | 599 | struct mesh_stats mshstats; |
601 | struct mesh_config mshcfg; | 600 | struct mesh_config mshcfg; |
601 | atomic_t estab_plinks; | ||
602 | u32 mesh_seqnum; | 602 | u32 mesh_seqnum; |
603 | bool accepting_plinks; | 603 | bool accepting_plinks; |
604 | int num_gates; | 604 | int num_gates; |