mac80211: delete work timer
authorJohannes Berg <johannes.berg@intel.com>
Wed, 25 Aug 2010 12:47:38 +0000 (14:47 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 30 Aug 2010 20:02:34 +0000 (16:02 -0400)
commit071249b1d501b1f31a6b1af3fbcbe03158a84e5c
treef25daa4a50718b42ee8597a0b6b8c3ca86be7383
parentf880c2050f30b23c9b6f80028c09f76e693bf309
mac80211: delete work timer

The new workqueue changes helped me find this bug
that's been lingering since the changes to the work
processing in mac80211 -- the work timer is never
deleted properly. Do that to avoid having it fire
after all data structures have been freed. It can't
be re-armed because all it will do, if running, is
schedule the work, but that gets flushed later and
won't have anything to do since all work items are
gone by now (by way of interface removal).

Cc: stable@kernel.org [2.6.34+]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/main.c