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)
commit7f549e2c45ba216f629aad7c463c00a3fc1ec2ea
tree510f7d2ed6c637517af66073f732d923e857a09c
parent3c2f3b20e4a834f1d8ae34002b22f9021a861715
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