iwlwifi: force scan complete after timeout
authorStanislaw Gruszka <sgruszka@redhat.com>
Mon, 13 Sep 2010 12:46:39 +0000 (14:46 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 14 Sep 2010 20:13:26 +0000 (16:13 -0400)
commitf5354c17dc29681c241f2774f3ef9478fb586673
tree7960a2d0b24396b890c0a5d2412675c6513680de
parent02d8c14b590f583fd6e8c16fe779f845845effd9
iwlwifi: force scan complete after timeout

If we do not get notification from hardware about scan complete, after
timeout do mac80211 scan completion anyway. This assure we end scan
in case of firmware hung.

Patch fix one of the causes of wdev_cleanup_work warning reported at
https://bugzilla.redhat.com/show_bug.cgi?id=593566

Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Acked-by: Wey-Yi W Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-core.c
drivers/net/wireless/iwlwifi/iwl-scan.c