iwlwifi: mvm: Correctly set IGTK for AP
authorBeni Lev <beni.lev@intel.com>
Tue, 20 Feb 2018 11:41:54 +0000 (13:41 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 30 May 2018 05:52:15 +0000 (07:52 +0200)
commitac2b8f5e361f34b33670d05ef12e0c54167c40e4
treefbb859b5c2bd1ad8198f88b320d680540df8d15a
parent85e5ae55652ec8da9fa39c4bd5ab88f35b280547
iwlwifi: mvm: Correctly set IGTK for AP

[ Upstream commit e829b17caf96c2da34620e335fb777592990906c ]

Currently when an IGTK is set for an AP, it is set as a regular key.
Since the cipher is set to CMAC, the STA_KEY_FLG_EXT flag is added to
the host command, which causes assert 0x253D on NICs that do not support
this.

Fixes: 85aeb58cec1a ("iwlwifi: mvm: Enable security on new TX API")
Signed-off-by: Beni Lev <beni.lev@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/wireless/intel/iwlwifi/mvm/sta.c