]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: change the iwl_mvm_d3_iface_iterator into a generic function
authorLuciano Coelho <luciano.coelho@intel.com>
Thu, 2 Oct 2014 12:38:04 +0000 (15:38 +0300)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Wed, 29 Oct 2014 10:49:13 +0000 (12:49 +0200)
commit56a4568c6d3da15bd36a1aec65459fb135e4b86a
tree510f7d2ed6c637517af66073f732d923e857a09c
parent454b34b03a71229c672c460d6498583e80bfdfec
iwlwifi: mvm: change the iwl_mvm_d3_iface_iterator into a generic function

Getting the BSS station vif is something that may be needed by other
parts of the code.  So, instead of having an iterator specifically for
d3, change it into a generic one in utils.c.  Additionally, add a
iwl_mvm_get_bss_vif() function to make it easier to retrieving it.

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