iwlwifi: mvm: spin off a function to start scan offload
authorLuciano Coelho <luciano.coelho@intel.com>
Wed, 1 Oct 2014 10:22:40 +0000 (13:22 +0300)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Wed, 29 Oct 2014 10:49:12 +0000 (12:49 +0200)
commitb141c23581164bfa7eb5eb19c2f00cb303c70d3b
treefe4a7d74f8bf6b3e48ea88a047880303b8922da7
parent1e4d19ca6efba26964c9597b643a1dcda79ad296
iwlwifi: mvm: spin off a function to start scan offload

The net-detect feature will require a scan offload to be started in
the same way it is done now for scheduled scan.  Spin a new function
off of the sched_scan_start op code for reuse.  Additionally,
restructure the function a bit for more readability.

Signed-off-by: Luciano Coelho <luciano.coelho@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/mac80211.c
drivers/net/wireless/iwlwifi/mvm/mvm.h
drivers/net/wireless/iwlwifi/mvm/scan.c