]> git.baikalelectronics.ru Git - kernel.git/commit
ath10k: use IEEE80211_HW_SW_CRYPTO_CONTROL
authorJohannes Berg <johannes.berg@intel.com>
Thu, 22 Jan 2015 20:38:45 +0000 (21:38 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 27 Jan 2015 10:01:19 +0000 (11:01 +0100)
commit770ede56968da9d073fb5c528ecc9515de98f737
treea0f463de6eab04293430ceb15b6801bf86de8c2e
parentf8dcd952254889dcab88d3ebf368ad82e0e921f4
ath10k: use IEEE80211_HW_SW_CRYPTO_CONTROL

The ath10k driver only supports HW crypto (except for management
frames or so - CMAC needs to be done in software). Make it use
the new IEEE80211_HW_SW_CRYPTO_CONTROL flag to ensure mac80211
doesn't erroneously attempt to use software crypto.

Taking through my tree after Kalle's ACK to avoid breaking the
ath10k driver with the next crypto patches.

Acked-by: Kalle Valo <kvalo@qca.qualcomm.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/ath/ath10k/mac.c