]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: notify on scan completion even when shutting down
authorJohannes Berg <johannes@sipsolutions.net>
Thu, 23 Apr 2009 08:45:04 +0000 (10:45 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 28 Apr 2009 19:59:48 +0000 (15:59 -0400)
commit02f784c47aae1d7f45e50e0c5f2ffa2324de098d
tree1288c8c98ecb3b6e2418905de1db8e263d0c8632
parentbb3a3378a96051cc07011eb6bab8c10073ca3e7e
iwlwifi: notify on scan completion even when shutting down

Under certain circumstances iwlwifi can get stuck and will no
longer accept scan requests, because the core code (cfg80211)
thinks that it's still processing one. This fixes one of the
points where it can happen, but I've still seen it (although
only with my radio-off-when-idle patch).

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Acked-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-scan.c