mac80211: init mesh timer for user authed STAs
authorThomas Pedersen <thomas@cozybit.com>
Sat, 2 Mar 2013 06:02:52 +0000 (22:02 -0800)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 6 Mar 2013 15:36:14 +0000 (16:36 +0100)
commit87f59c70ce6d1abeaaf97594835be29f746b81a0
treed153c1be17229f9390948064a5ac965624ec3c8a
parent146bb4839adfd5637beb6daa01aa94f342de5eab
mac80211: init mesh timer for user authed STAs

There is a corner case which wasn't being covered:
userspace may authenticate and allocate stations,
but still leave the peering up to the kernel.

Initialize the peering timer if the MPM is not in
userspace, in a path which is taken by both the kernel and
userspace when allocating stations.

Signed-off-by: Thomas Pedersen <thomas@cozybit.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mesh_plink.c
net/mac80211/sta_info.c