iwlwifi: mvm: check iwl_mvm_wowlan_config_key_params() return value
authorEliad Peller <eliad@wizery.com>
Sun, 15 Nov 2015 13:44:17 +0000 (15:44 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Sun, 13 Dec 2015 06:52:51 +0000 (08:52 +0200)
commit3f50a69077b5b8086fd16cfa0b71138082126a69
tree2a2d7ec95006f7d9f4cdf6e0c43f33471df78a79
parent305d236e83b664e0c1e1e29d06f8780fdd311fd4
iwlwifi: mvm: check iwl_mvm_wowlan_config_key_params() return value

commit 9a4c830007817e ("iwlwifi: mvm: refactor d3 key
update functions") refactored some code into
iwl_mvm_wowlan_config_key_params() function, but the
return value was never checked, and not all the function
flows returned valid values. fix it.

Fixes: ac8ef0ce38de ("iwlwifi: mvm: refactor d3 key update functions")
Signed-off-by: Eliad Peller <eliadx.peller@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/d3.c