iwlwifi: move scan completed flags handling
authorJohannes Berg <johannes.berg@intel.com>
Mon, 13 Sep 2010 12:46:34 +0000 (14:46 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 14 Sep 2010 20:08:03 +0000 (16:08 -0400)
commitd5926d9d6a183d109060f68c0b96ea2b33c15377
treec6858f115c5261ae8bfc4cdc112867af5715f1c7
parent3eecce527c7434dfd16517ce08b49632c8a26717
iwlwifi: move scan completed flags handling

Move the scan completed flags handling so that we
can notify mac80211 about aborted scans with the
correct status. Also queue the scan_completed work
before the BT status update so that it won't see
the bits still set (unless a new scan was started
in which case that's fine.)

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
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-scan.c