Skip to content

Commit

Permalink
iwlwifi: mvm: remove d0i3 ref correctly during AP start
Browse files Browse the repository at this point in the history
The AP_START d0i3 reference was never removed if the AP started correctly.
This has the unpleasant side-effect of preventing D0i3 on Android if the
WiFi hotspot was ever started on the device.

Signed-off-by: Arik Nemtsov <[email protected]>
Signed-off-by: Emmanuel Grumbach <[email protected]>
  • Loading branch information
ariknem authored and egrumbach committed Mar 26, 2015
1 parent 48e6775 commit 939e490
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/net/wireless/iwlwifi/mvm/mac80211.c
Original file line number Diff line number Diff line change
Expand Up @@ -2215,8 +2215,7 @@ static int iwl_mvm_start_ap_ibss(struct ieee80211_hw *hw,
if (iwl_mvm_phy_ctx_count(mvm) > 1)
iwl_mvm_teardown_tdls_peers(mvm);

mutex_unlock(&mvm->mutex);
return 0;
goto out_unlock;

out_quota_failed:
iwl_mvm_power_update_mac(mvm);
Expand Down

0 comments on commit 939e490

Please sign in to comment.