From: Luis R. Rodriguez Date: Mon, 4 Feb 2008 02:53:20 +0000 (-0500) Subject: ath5k: Use software encryption for now X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6844e63a9458d15b4437aa467c99128d994b0f6c;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: John W. Linville --- 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, switch(key->alg) { case ALG_WEP: - break; + /* XXX: fix hardware encryption, its not working. For now + * allow software encryption */ + /* break; */ case ALG_TKIP: case ALG_CCMP: return -EOPNOTSUPP;