]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
iwlwifi: mvm: simplify __iwl_mvm_set_sta_key()
authorJohannes Berg <johannes.berg@intel.com>
Mon, 2 Aug 2021 18:58:56 +0000 (21:58 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Thu, 26 Aug 2021 20:34:27 +0000 (23:34 +0300)
commit95a62c331f6ac38bd22b0353cab9d719d031c892
treed3c4c7e150f28b42ca5d0ee8bc1cfe440148a21f
parent199d895f47601fcd2c24d484e5ce1f5d283b5d4f
iwlwifi: mvm: simplify __iwl_mvm_set_sta_key()

There's no need to differentiate identical default and cipher
type cases, nor do we really need to have a 'ret' variable.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20210802215208.e89178b22fbf.I4d62baad9a9fdfd5c645a3cc5dbffb22feab5033@changeid
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/sta.c