Revert "iwlwifi: mvm: fix failure path when power_update fails in add_interface"

This reverts commit fce2d02547

It was incorrectly applied, as it merged with fuzz.

Reported-by: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
This commit is contained in:
Greg Kroah-Hartman 2015-04-06 12:18:59 +02:00
parent 58aef0a81c
commit ecbd69c2b7

View File

@ -541,7 +541,7 @@ static int iwl_mvm_mac_add_interface(struct ieee80211_hw *hw,
ret = iwl_mvm_mac_ctxt_add(mvm, vif);
if (ret)
goto out_remove_mac;
goto out_release;
/*
* Update power state on the new interface. Admittedly, based on