iwlwifi: cleanup scan initiate check
authorStanislaw Gruszka <sgruszka@redhat.com>
Mon, 13 Sep 2010 12:46:43 +0000 (14:46 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 14 Sep 2010 20:14:25 +0000 (16:14 -0400)
commit74d81b259d6c8493f066e34c939cb6fb7d3129e5
treeb2e108aeb1f252187896cff3e2712438c9d0529c
parentedeb78a7fa838b7fb9c2043680bd8da7cb5cb0e5
iwlwifi: cleanup scan initiate check

Remove redundant checks and use iwl_is_ready_rf().

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