]> asedeno.scripts.mit.edu Git - linux.git/commit
iwlwifi: mvm: update powersave correctly for D3
authorJohannes Berg <johannes.berg@intel.com>
Mon, 30 Sep 2019 12:45:54 +0000 (14:45 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 20 Dec 2019 12:23:24 +0000 (14:23 +0200)
commit1019f9efcb9fa0cea4b361604b438fef3ea3e394
tree4e842f9380dd37ada515455497338f588f7c6008
parentae0a723c4cfd89dad31ce238f47ccfbe81b35b84
iwlwifi: mvm: update powersave correctly for D3

This fixes a long-standing bug - we haven't been able to check the
firmware image that was loaded for D3/not-D3 since the introduction
of the unified image...

Fix this by keeping a status flag for D3 instead of checking for
the firmware image that's loaded.

This reduces occurrences of checks for IWL_UCODE_WOWLAN to just the
code that actually loads the image or deals with it in other ways.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/d3.c
drivers/net/wireless/intel/iwlwifi/mvm/mvm.h
drivers/net/wireless/intel/iwlwifi/mvm/power.c