Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 258477
b: refs/heads/master
c: d47d78d
h: refs/heads/master
i:
  258475: c93037b
v: v3
  • Loading branch information
Pavel Roskin authored and John W. Linville committed Jul 18, 2011
1 parent d2d0341 commit 86b2350
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 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: c54dcd197c3f9a66b60cb85ca50df06981a45211
refs/heads/master: d47d78dff4d6d72eec59dcdf0f6dd44064088112
7 changes: 2 additions & 5 deletions trunk/drivers/net/wireless/ath/key.c
Original file line number Diff line number Diff line change
Expand Up @@ -105,11 +105,8 @@ static bool ath_hw_keysetmac(struct ath_common *common,
if (mac[0] & 0x01)
unicast_flag = 0;

macHi = (mac[5] << 8) | mac[4];
macLo = (mac[3] << 24) |
(mac[2] << 16) |
(mac[1] << 8) |
mac[0];
macLo = get_unaligned_le32(mac);
macHi = get_unaligned_le16(mac + 4);
macLo >>= 1;
macLo |= (macHi & 1) << 31;
macHi >>= 1;
Expand Down

0 comments on commit 86b2350

Please sign in to comment.