* [PATCH] ath9k_htc: Fix TKIP disconnect failure with HTC drivers
@ 2010-09-24 12:28 Rajkumar Manoharan
2010-09-27 1:05 ` Bruno Randolf
0 siblings, 1 reply; 2+ messages in thread
From: Rajkumar Manoharan @ 2010-09-24 12:28 UTC (permalink / raw)
To: linville; +Cc: linux-wireless, Rajkumar Manoharan
The following commit removed splitmic. But forgot to add
ATH_CRYPT_CAP_MIC_COMBINED flag for HTC drivers which causes
TKIP to fail.
Author: Bruno Randolf <br1@einfach.org>
Date: Wed Sep 8 16:04:54 2010 +0900
ath/ath9k: Replace common->splitmic with a flag
Replace common->splitmic with ATH_CRYPT_CAP_MIC_COMBINED flag.
Signed-off-by: Rajkumar Manoharan <rmanoharan@atheros.com>
---
drivers/net/wireless/ath/ath9k/htc_drv_init.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/drivers/net/wireless/ath/ath9k/htc_drv_init.c b/drivers/net/wireless/ath/ath9k/htc_drv_init.c
index 33850c9..b100db2 100644
--- a/drivers/net/wireless/ath/ath9k/htc_drv_init.c
+++ b/drivers/net/wireless/ath/ath9k/htc_drv_init.c
@@ -561,6 +561,9 @@ static void ath9k_init_crypto(struct ath9k_htc_priv *priv)
common->keymax = ATH_KEYMAX;
}
+ if (priv->ah->misc_mode & AR_PCU_MIC_NEW_LOC_ENA)
+ common->crypt_caps |= ATH_CRYPT_CAP_MIC_COMBINED;
+
/*
* Reset the key cache since some parts do not
* reset the contents on initial power up.
--
1.7.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] ath9k_htc: Fix TKIP disconnect failure with HTC drivers
2010-09-24 12:28 [PATCH] ath9k_htc: Fix TKIP disconnect failure with HTC drivers Rajkumar Manoharan
@ 2010-09-27 1:05 ` Bruno Randolf
0 siblings, 0 replies; 2+ messages in thread
From: Bruno Randolf @ 2010-09-27 1:05 UTC (permalink / raw)
To: Rajkumar Manoharan; +Cc: linville, linux-wireless
On Fri September 24 2010 21:28:50 Rajkumar Manoharan wrote:
> The following commit removed splitmic. But forgot to add
> ATH_CRYPT_CAP_MIC_COMBINED flag for HTC drivers which causes
> TKIP to fail.
>
> Author: Bruno Randolf <br1@einfach.org>
> Date: Wed Sep 8 16:04:54 2010 +0900
>
> ath/ath9k: Replace common->splitmic with a flag
>
> Replace common->splitmic with ATH_CRYPT_CAP_MIC_COMBINED flag.
>
> Signed-off-by: Rajkumar Manoharan <rmanoharan@atheros.com>
sorry for that!
bruno
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-09-27 1:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-24 12:28 [PATCH] ath9k_htc: Fix TKIP disconnect failure with HTC drivers Rajkumar Manoharan
2010-09-27 1:05 ` Bruno Randolf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).