summaryrefslogtreecommitdiffstats
path: root/net/mac80211/mesh.c
diff options
context:
space:
mode:
authorJohannes Berg2015-06-17 10:31:00 +0200
committerJohannes Berg2015-07-17 15:38:06 +0200
commit433f5bc1c0efc67a86433e47a14b115510fc1409 (patch)
treedacf05f143f275714963f7ad838c3ab8611440a0 /net/mac80211/mesh.c
parentmac80211: remove IEEE80211_RX_FRAGMENTED (diff)
downloadkernel-qcow2-linux-433f5bc1c0efc67a86433e47a14b115510fc1409.tar.gz
kernel-qcow2-linux-433f5bc1c0efc67a86433e47a14b115510fc1409.tar.xz
kernel-qcow2-linux-433f5bc1c0efc67a86433e47a14b115510fc1409.zip
mac80211: move mesh related station fields to own struct
There are now a fairly large number of mesh fields that really aren't needed in any other modes; move those into their own structure and allocate them separately. Signed-off-by: Johannes Berg <johannes.berg@intel.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 817098add1d6..e06a5ca7c9a9 100644
--- a/net/mac80211/mesh.c
+++ b/net/mac80211/mesh.c
@@ -158,7 +158,7 @@ void mesh_sta_cleanup(struct sta_info *sta)
changed = mesh_accept_plinks_update(sdata);
if (!sdata->u.mesh.user_mpm) {
changed |= mesh_plink_deactivate(sta);
- del_timer_sync(&sta->plink_timer);
+ del_timer_sync(&sta->mesh->plink_timer);
}
if (changed)