iwlwifi: mvm: combine part of the scan stop flows
authorLuciano Coelho <luciano.coelho@intel.com>
Tue, 5 May 2015 07:05:42 +0000 (10:05 +0300)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Thu, 28 May 2015 10:35:20 +0000 (13:35 +0300)
commit5d2e8d932c1c3d64418842c159862d003135ad0b
tree67aaaab8afe526f540c262d3a9f03a330191b455
parent7576d54f9e372dbbe77c5291e15a67296d502674
iwlwifi: mvm: combine part of the scan stop flows

For UMAC scans, we were simply jumping into another function when scan
stop functions were called, while for LMAC scans, the flow continued.
To make the flows cleaner and more balanced, combine the UMAC part
into the main stop functions.  This also makes us take one step closer
into combining the state flags for both APIs.

Note that some STOPPING flags will be dangling in UMAC scans, but it
doesn't matter because they are not used in UMAC yet (and this will be
fixed in subsequent patches).

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