Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 102911
b: refs/heads/master
c: a9f853d
h: refs/heads/master
i:
  102909: cf5957d
  102907: db90600
  102903: 03bf4c8
  102895: 6b34106
  102879: 40c9101
  102847: 09fa224
  102783: 6f3fb2d
  102655: 7910183
  102399: 63fdcda
v: v3
  • Loading branch information
Gertjan van Wingerde authored and John W. Linville committed Jun 14, 2008
1 parent a874311 commit fd685b9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 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: 99990e0c031c5da2cf7b0a03fc22ab755aa5619f
refs/heads/master: a9f853ddd352954815a023c4811629ed117df2f8
8 changes: 2 additions & 6 deletions trunk/drivers/net/wireless/rt2x00/rt2x00dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -565,13 +565,9 @@ void rt2x00lib_rxdone(struct queue_entry *entry,

/*
* The data behind the ieee80211 header must be
* aligned on a 4 byte boundary. We already reserved
* 2 bytes for header_size % 4 == 2 optimization.
* To determine the number of bytes which the data
* should be moved to the left, we must add these
* 2 bytes to the header_size.
* aligned on a 4 byte boundary.
*/
align = (header_size + 2) % 4;
align = ((unsigned long)(entry->skb->data + header_size)) & 3;

if (align) {
skb_push(entry->skb, align);
Expand Down

0 comments on commit fd685b9

Please sign in to comment.