diff options
author | Marek Kwaczynski <marek.kwaczynski@tieto.com> | 2015-01-24 05:14:53 -0500 |
---|---|---|
committer | Kalle Valo <kvalo@qca.qualcomm.com> | 2015-01-27 09:25:14 -0500 |
commit | e4e82e9af8f02f9f3e19d240170c8c4b68f28bd4 (patch) | |
tree | c5859e075b9f4aaa96be61f5cfa96a5c11c4cfde /drivers/net/wireless | |
parent | 6f3b7ff4e309031e15402b71891b57eb14951b7a (diff) |
ath10k: remove sw encryption for pmf
Software encryption was never necessary.
Tested with fw 636 and fw 10.x.
Signed-off-by: Marek Kwaczynski <marek.kwaczynski@tieto.com>
Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r-- | drivers/net/wireless/ath/ath10k/mac.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/net/wireless/ath/ath10k/mac.c b/drivers/net/wireless/ath/ath10k/mac.c index e3a3bbd41966..02e2bfc04ccf 100644 --- a/drivers/net/wireless/ath/ath10k/mac.c +++ b/drivers/net/wireless/ath/ath10k/mac.c | |||
@@ -58,10 +58,7 @@ static int ath10k_send_key(struct ath10k_vif *arvif, | |||
58 | switch (key->cipher) { | 58 | switch (key->cipher) { |
59 | case WLAN_CIPHER_SUITE_CCMP: | 59 | case WLAN_CIPHER_SUITE_CCMP: |
60 | arg.key_cipher = WMI_CIPHER_AES_CCM; | 60 | arg.key_cipher = WMI_CIPHER_AES_CCM; |
61 | if (arvif->vdev_type == WMI_VDEV_TYPE_AP) | 61 | key->flags |= IEEE80211_KEY_FLAG_GENERATE_IV_MGMT; |
62 | key->flags |= IEEE80211_KEY_FLAG_GENERATE_IV_MGMT; | ||
63 | else | ||
64 | key->flags |= IEEE80211_KEY_FLAG_SW_MGMT_TX; | ||
65 | break; | 62 | break; |
66 | case WLAN_CIPHER_SUITE_TKIP: | 63 | case WLAN_CIPHER_SUITE_TKIP: |
67 | arg.key_cipher = WMI_CIPHER_TKIP; | 64 | arg.key_cipher = WMI_CIPHER_TKIP; |