net/mac80211/mesh_plink: Convert timers to use timer_setup()
authorKees Cook <keescook@chromium.org>
Thu, 5 Oct 2017 17:39:10 +0000 (10:39 -0700)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 6 Oct 2017 09:47:52 +0000 (11:47 +0200)
commit4c02d62fa37a05254a87575c7d430819f77bd6c9
tree046e98fd9c69e40bd3453540599883469d342c6d
parent753d179ad001b25425beb977d00f2531540e7d42
net/mac80211/mesh_plink: Convert timers to use timer_setup()

In preparation for unconditionally passing the struct timer_list pointer to
all timer callbacks, switch to using the new timer_setup() and from_timer()
to pass the timer pointer explicitly. This requires adding a pointer back
to the sta_info since container_of() can't resolve the sta_info.

Cc: Johannes Berg <johannes@sipsolutions.net>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: linux-wireless@vger.kernel.org
Cc: netdev@vger.kernel.org
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mesh.h
net/mac80211/mesh_plink.c
net/mac80211/sta_info.c
net/mac80211/sta_info.h