at76c50x-usb: avoid mutex deadlock in at76_dwork_hw_scan
authorJohn W. Linville <linville@tuxdriver.com>
Thu, 28 May 2009 09:39:02 +0000 (11:39 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 29 May 2009 10:41:01 +0000 (12:41 +0200)
http://bugzilla.kernel.org/show_bug.cgi?id=13312

at76_dwork_hw_scan holds a mutex while calling ieee80211_scan_completed,
which then calls at76_config which needs the same mutex.  This reworks
the ordering to not hold the lock while calling ieee80211_scan_completed.

Signed-off-by: John W. Linville <linville@tuxdriver.com>

No differences found