summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/iwlwifi/mvm/mac80211.c
diff options
context:
space:
mode:
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>2014-01-28 13:18:59 +0400
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>2014-02-04 00:43:57 +0400
commit6345061fda7766b937bc0e52e3467071a640c6c4 (patch)
treef3064e4cdcdfb3b48c091e74badbac10ac37b415 /drivers/net/wireless/iwlwifi/mvm/mac80211.c
parentc1cb92fc1ecd2159b7fb148ed8d5f09d511ae030 (diff)
downloadlinux-6345061fda7766b937bc0e52e3467071a640c6c4.tar.xz
iwlwifi: mvm: remove iwl_mvm_power_mac_disable
Its logic can be implemented with iwl_mvm_power_mac_update_mode. Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/mvm/mac80211.c')
-rw-r--r--drivers/net/wireless/iwlwifi/mvm/mac80211.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/mvm/mac80211.c b/drivers/net/wireless/iwlwifi/mvm/mac80211.c
index 01b450039106..9d290697fbba 100644
--- a/drivers/net/wireless/iwlwifi/mvm/mac80211.c
+++ b/drivers/net/wireless/iwlwifi/mvm/mac80211.c
@@ -717,7 +717,7 @@ static int iwl_mvm_mac_add_interface(struct ieee80211_hw *hw,
if (ret)
goto out_release;
- iwl_mvm_power_mac_disable(mvm, vif);
+ iwl_mvm_power_mac_update_mode(mvm, vif);
/* beacon filtering */
ret = iwl_mvm_disable_beacon_filter(mvm, vif, CMD_SYNC);