* [PATCH] ath5k: notice a negative keytype
@ 2009-01-18 22:50 Roel Kluin
2009-01-19 13:48 ` Bob Copeland
0 siblings, 1 reply; 2+ messages in thread
From: Roel Kluin @ 2009-01-18 22:50 UTC (permalink / raw)
To: mickflemm; +Cc: linux-wireless, ath5k-devel
To notice a negative keytype
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
---
diff --git a/drivers/net/wireless/ath5k/pcu.c b/drivers/net/wireless/ath5k/pcu.c
index 75eb9f4..5bb8a02 100644
--- a/drivers/net/wireless/ath5k/pcu.c
+++ b/drivers/net/wireless/ath5k/pcu.c
@@ -1041,7 +1041,7 @@ int ath5k_hw_set_key(struct ath5k_hw *ah, u16 entry,
__le32 key_v[5] = {};
__le32 key0 = 0, key1 = 0;
__le32 *rxmic, *txmic;
- u32 keytype;
+ int keytype;
u16 micentry = entry + AR5K_KEYTABLE_MIC_OFFSET;
bool is_tkip;
const u8 *key_ptr;
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] ath5k: notice a negative keytype
2009-01-18 22:50 [PATCH] ath5k: notice a negative keytype Roel Kluin
@ 2009-01-19 13:48 ` Bob Copeland
0 siblings, 0 replies; 2+ messages in thread
From: Bob Copeland @ 2009-01-19 13:48 UTC (permalink / raw)
To: Roel Kluin; +Cc: mickflemm, linux-wireless, ath5k-devel
On Sun, Jan 18, 2009 at 5:50 PM, Roel Kluin <roel.kluin@gmail.com> wrote:
> To notice a negative keytype
>
> Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Acked-by: Bob Copeland <me@bobcopeland.com>
> ---
> diff --git a/drivers/net/wireless/ath5k/pcu.c b/drivers/net/wireless/ath5k/pcu.c
> index 75eb9f4..5bb8a02 100644
> --- a/drivers/net/wireless/ath5k/pcu.c
> +++ b/drivers/net/wireless/ath5k/pcu.c
> @@ -1041,7 +1041,7 @@ int ath5k_hw_set_key(struct ath5k_hw *ah, u16 entry,
> __le32 key_v[5] = {};
> __le32 key0 = 0, key1 = 0;
> __le32 *rxmic, *txmic;
> - u32 keytype;
> + int keytype;
> u16 micentry = entry + AR5K_KEYTABLE_MIC_OFFSET;
> bool is_tkip;
> const u8 *key_ptr;
> --
> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
--
Bob Copeland %% www.bobcopeland.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-01-19 13:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-18 22:50 [PATCH] ath5k: notice a negative keytype Roel Kluin
2009-01-19 13:48 ` Bob Copeland
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).