]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: refactor UMAC scan UID handling
authorLuciano Coelho <luciano.coelho@intel.com>
Thu, 7 May 2015 08:13:24 +0000 (11:13 +0300)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Thu, 28 May 2015 10:35:22 +0000 (13:35 +0300)
commitd1fafc3c9c77ead840aec53f6480edcafaa1c88f
treef869395f95e12f7ed1ff619e673797534739c7e3
parent521b1469a025f76ecc92916160cad9cd0d8b430e
iwlwifi: mvm: refactor UMAC scan UID handling

We can only have one scan of each type running at the same time, so we
can remove one attribute in the UID information we save.  We had array
index, UID and type, but only UID (== array_index) and type are
necessary.  Refactor the code to use this simplified array.

Signed-off-by: Luciano Coelho <luciano.coelho@intel.com>
Reviewed-by: Johannes Berg <johannes.berg@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