ath5k: Use software encryption for now
authorLuis R. Rodriguez <mcgrof@winlab.rutgers.edu>
Mon, 4 Feb 2008 02:53:20 +0000 (21:53 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 29 Feb 2008 20:19:38 +0000 (15:19 -0500)
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>
drivers/net/wireless/ath5k/base.c

index 5ca441d7a6c1efc162168bd40f8c26f0a8fc1595..0b743f7b3a141e5671781841353f9a73423ca462 100644 (file)
@@ -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;