OSDN Git Service

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)
commit3cb10943fc60b4349a4d7865bdd579bc5c8eaf73
treea0f463de6eab04293430ceb15b6801bf86de8c2e
parent9120d94e8f9abd3eb9f00a5aaa6eca85cdf4f439
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