aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath9k/main.c
diff options
context:
space:
mode:
authorJouni Malinen <jouni.malinen@atheros.com>2009-03-02 11:15:53 -0500
committerJohn W. Linville <linville@tuxdriver.com>2009-03-05 14:39:38 -0500
commite0caf9eaae5182ab4e02a5d703ade64719738f87 (patch)
tree7009cf60091d2c403ac4479044c2da067ce8a3ab /drivers/net/wireless/ath9k/main.c
parent672903b329579ff43ae3d553cf55bd82041921c1 (diff)
ath9k: Remove unused key xoring
This is not used anywhere in ath9k and is just making the code more confusing. Signed-off-by: Jouni Malinen <jouni.malinen@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath9k/main.c')
-rw-r--r--drivers/net/wireless/ath9k/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath9k/main.c b/drivers/net/wireless/ath9k/main.c
index fd6cc7348a4e..28200ce1d88e 100644
--- a/drivers/net/wireless/ath9k/main.c
+++ b/drivers/net/wireless/ath9k/main.c
@@ -642,7 +642,7 @@ static int ath_keyset(struct ath_softc *sc, u16 keyix,
642 bool status; 642 bool status;
643 643
644 status = ath9k_hw_set_keycache_entry(sc->sc_ah, 644 status = ath9k_hw_set_keycache_entry(sc->sc_ah,
645 keyix, hk, mac, false); 645 keyix, hk, mac);
646 646
647 return status != false; 647 return status != false;
648} 648}