diff options
author | Bob Copeland <me@bobcopeland.com> | 2009-08-24 23:00:33 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-08-28 14:40:44 -0400 |
commit | 1c81874078dc96b8158ce7b0dab54afe43c8d03e (patch) | |
tree | 78b48c231673c7ae785fb93b705ee352f94d7aa8 /drivers/net/wireless/ath/ath5k/base.c | |
parent | 1c5256bb168faca5ce32a9c9511c8389f9fed31c (diff) | |
download | talos-op-linux-1c81874078dc96b8158ce7b0dab54afe43c8d03e.tar.gz talos-op-linux-1c81874078dc96b8158ce7b0dab54afe43c8d03e.zip |
ath5k: add hardware CCMP encyption support
Recent ath5k hardware is capable of doing CCMP acceleration.
Enable it for the cards that support it.
Signed-off-by: Bob Copeland <me@bobcopeland.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath5k/base.c')
-rw-r--r-- | drivers/net/wireless/ath/ath5k/base.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath5k/base.c b/drivers/net/wireless/ath/ath5k/base.c index 10bf01547068..94d46fd94ff6 100644 --- a/drivers/net/wireless/ath/ath5k/base.c +++ b/drivers/net/wireless/ath/ath5k/base.c @@ -3022,6 +3022,9 @@ ath5k_set_key(struct ieee80211_hw *hw, enum set_key_cmd cmd, case ALG_TKIP: break; case ALG_CCMP: + if (sc->ah->ah_aes_support) + break; + return -EOPNOTSUPP; default: WARN_ON(1); |