aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath5k/base.c
diff options
context:
space:
mode:
authorLuis R. Rodriguez <mcgrof@winlab.rutgers.edu>2008-02-03 21:53:20 -0500
committerJohn W. Linville <linville@tuxdriver.com>2008-02-29 15:19:38 -0500
commit6844e63a9458d15b4437aa467c99128d994b0f6c (patch)
treec0665f5bc261298496fb01aae08b6a0b617df66f /drivers/net/wireless/ath5k/base.c
parentb446197cc14ef060baeed5acbcddf148c04d03f8 (diff)
ath5k: Use software encryption for now
Hardware encryption doesn't work yet so lets use software encryption for now. Changes-licensed-under: 3-Clause-BSD Signed-off-by: Luis R. Rodriguez <mcgrof@winlab.rutgers.edu> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath5k/base.c')
-rw-r--r--drivers/net/wireless/ath5k/base.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath5k/base.c b/drivers/net/wireless/ath5k/base.c
index 5ca441d7a6c1..0b743f7b3a14 100644
--- a/drivers/net/wireless/ath5k/base.c
+++ b/drivers/net/wireless/ath5k/base.c
@@ -2928,7 +2928,9 @@ ath5k_set_key(struct ieee80211_hw *hw, enum set_key_cmd cmd,
2928 2928
2929 switch(key->alg) { 2929 switch(key->alg) {
2930 case ALG_WEP: 2930 case ALG_WEP:
2931 break; 2931 /* XXX: fix hardware encryption, its not working. For now
2932 * allow software encryption */
2933 /* break; */
2932 case ALG_TKIP: 2934 case ALG_TKIP:
2933 case ALG_CCMP: 2935 case ALG_CCMP:
2934 return -EOPNOTSUPP; 2936 return -EOPNOTSUPP;