Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 95869
b: refs/heads/master
c: 17f8304
h: refs/heads/master
i:
  95867: 8e2b3c6
v: v3
  • Loading branch information
Harvey Harrison authored and John W. Linville committed May 1, 2008
1 parent eb98be0 commit 3f27ed1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 636c5d488bc0b349e01cf5bfbf85588134af70a0
refs/heads/master: 17f830459d6116ae13dbcfc9d09a406e6717b1a6
6 changes: 2 additions & 4 deletions trunk/net/mac80211/tkip.c
Original file line number Diff line number Diff line change
Expand Up @@ -230,10 +230,8 @@ void ieee80211_get_tkip_key(struct ieee80211_key_conf *keyconf,

iv16 = data[hdr_len] << 8;
iv16 += data[hdr_len + 2];
iv32 = data[hdr_len + 4] +
(data[hdr_len + 5] >> 8) +
(data[hdr_len + 6] >> 16) +
(data[hdr_len + 7] >> 24);
iv32 = data[hdr_len + 4] | (data[hdr_len + 5] << 8) |
(data[hdr_len + 6] << 16) | (data[hdr_len + 7] << 24);

#ifdef CONFIG_TKIP_DEBUG
printk(KERN_DEBUG "TKIP encrypt: iv16 = 0x%04x, iv32 = 0x%08x\n",
Expand Down

0 comments on commit 3f27ed1

Please sign in to comment.