]> 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)
commit7013ecd50d65204301e30264c4c180bdde8d6633
treef869395f95e12f7ed1ff619e673797534739c7e3
parent3d0f5a498d5b318930bd796771d77af1c05caad1
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