iwlwifi: mvm: Correctly set IGTK for AP
authorBeni Lev <beni.lev@intel.com>
Tue, 20 Feb 2018 11:41:54 +0000 (13:41 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 16 Mar 2018 10:34:52 +0000 (12:34 +0200)
commite829b17caf96c2da34620e335fb777592990906c
tree0477fc6a35285197efd845a044b5dbba1c3b6b4b
parent334167decf98f01a66c91ea84180c278bc4ad290
iwlwifi: mvm: Correctly set IGTK for AP

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>
drivers/net/wireless/intel/iwlwifi/mvm/sta.c