Skip to contentSkip to conversation

ath5k: notice a negative keytype

PATCH In review Roel Kluin 2 participants 2 messages Jan 18, 2009 – Jan 19, 2009 Networking drivers (wireless)

lore
Share & tools
lore

Roel Kluin

author
#0 lore raw

PATCH 1/1 ath5k: notice a negative keytype

To notice a negative keytype

---

drivers/net/wireless/ath5k/pcu.c +1 -1
index 75eb9f4..5bb8a02 100644
@@ -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;
Acked-by on v1 1/1
#1 lore raw
Quoted 3 lines · Roel Kluin

To notice a negative keytype

Quoted 19 lines

---

drivers/net/wireless/ath5k/pcu.c +1 -2
index 75eb9f4..5bb8a02 100644
@@ -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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Signature · 1 line
Bob Copeland %% www.bobcopeland.com