iwlwifi: remove unneeded disable_hw_scan check
authorStanislaw Gruszka <sgruszka@redhat.com>
Fri, 28 Jan 2011 15:47:48 +0000 (16:47 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 28 Jan 2011 20:46:25 +0000 (15:46 -0500)
commit8c9f514b38bb01f0af09f880fe8b3cd5342d2401
tree8d326c572142995609538b9d09f8bc3f90477108
parent88e58fc5d940c3463c7070a2a7a8a0ce65af3fdc
iwlwifi: remove unneeded disable_hw_scan check

We never set STATUS_SCANNING in softwre scanning mode, disable_hw_scan
check is unneeded. Correct debug message while at it.

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