cfg80211: fix unregistration
authorJohannes Berg <johannes@sipsolutions.net>
Mon, 13 Jul 2009 11:24:44 +0000 (13:24 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 24 Jul 2009 19:05:13 +0000 (15:05 -0400)
commit6682588a08b8be34649348051bc0204f7ab401a2
tree2f4f31afc7ba25e8fe82b6783ec9e8ce59acb257
parent0e2b6286805c419d28a4c1e19e3a121af7449b20
cfg80211: fix unregistration

The work that we cancel there requires the cfg80211_mutex,
so we can't cancel it under the mutex, which is fine, we
can just move it to after the locked section.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/wireless/core.c