commit | 21a4cc00e8e67edcfc1bdb9af6d370ed1226eb86 | [log] [tgz] |
---|---|---|
author | John W. Linville <linville@tuxdriver.com> | Thu May 28 11:39:02 2009 +0200 |
committer | John W. Linville <linville@tuxdriver.com> | Fri May 29 12:41:01 2009 +0200 |
tree | eb1a89352431f31776f26126ca4051359e8341f6 | |
parent | 4d3383d0adb6d1047fb9ee3edd9dc05e4d2184f0 [diff] |
at76c50x-usb: avoid mutex deadlock in at76_dwork_hw_scan 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>