]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/net/wireless/iwlwifi/mvm/d3.c
iwlwifi: mvm: Add device wide power command
[karo-tx-linux.git] / drivers / net / wireless / iwlwifi / mvm / d3.c
index d08c12b930e5e7eda40482974c8b1def7610affd..ab5c1f0e062250faa7bf8fbcb4d60c5d44820aea 100644 (file)
@@ -1149,6 +1149,10 @@ static int __iwl_mvm_suspend(struct ieee80211_hw *hw,
        if (ret)
                goto out;
 
+       ret = iwl_mvm_power_update_device_mode(mvm);
+       if (ret)
+               goto out;
+
        ret = iwl_mvm_power_update_mode(mvm, vif);
        if (ret)
                goto out;