]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbad10f64d7163a63533afac13a9e97368b1a417c
tree67aaaab8afe526f540c262d3a9f03a330191b455
parentcc9597a905127c827cd4f6f594758330181e3d21
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