diff options
author | Luciano Coelho <luciano.coelho@intel.com> | 2014-10-02 08:38:04 -0400 |
---|---|---|
committer | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2014-10-29 06:49:13 -0400 |
commit | 7f549e2c45ba216f629aad7c463c00a3fc1ec2ea (patch) | |
tree | 510f7d2ed6c637517af66073f732d923e857a09c /drivers/net/wireless/iwlwifi/mvm/mvm.h | |
parent | 3c2f3b20e4a834f1d8ae34002b22f9021a861715 (diff) |
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>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/mvm/mvm.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/mvm/mvm.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/mvm/mvm.h b/drivers/net/wireless/iwlwifi/mvm/mvm.h index 60aee625b966..aec9f579f5a9 100644 --- a/drivers/net/wireless/iwlwifi/mvm/mvm.h +++ b/drivers/net/wireless/iwlwifi/mvm/mvm.h | |||
@@ -1214,6 +1214,8 @@ void iwl_mvm_recalc_tdls_state(struct iwl_mvm *mvm, struct ieee80211_vif *vif, | |||
1214 | void iwl_mvm_mac_mgd_protect_tdls_discover(struct ieee80211_hw *hw, | 1214 | void iwl_mvm_mac_mgd_protect_tdls_discover(struct ieee80211_hw *hw, |
1215 | struct ieee80211_vif *vif); | 1215 | struct ieee80211_vif *vif); |
1216 | 1216 | ||
1217 | struct ieee80211_vif *iwl_mvm_get_bss_vif(struct iwl_mvm *mvm); | ||
1218 | |||
1217 | void iwl_mvm_nic_restart(struct iwl_mvm *mvm, bool fw_error); | 1219 | void iwl_mvm_nic_restart(struct iwl_mvm *mvm, bool fw_error); |
1218 | #ifdef CONFIG_IWLWIFI_DEBUGFS | 1220 | #ifdef CONFIG_IWLWIFI_DEBUGFS |
1219 | void iwl_mvm_fw_error_dump(struct iwl_mvm *mvm); | 1221 | void iwl_mvm_fw_error_dump(struct iwl_mvm *mvm); |