Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 108835
b: refs/heads/master
c: d47c3ce
h: refs/heads/master
i:
  108833: 7c8b3d5
  108831: fcc2fef
v: v3
  • Loading branch information
Christian Lamparter authored and John W. Linville committed Aug 18, 2008
1 parent 179c24c commit e95813a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 69bbc7dc9f59fedb6067c7f9f9f9bc1da27407ad
refs/heads/master: d47c3cebf5aae9d72b2cc18e5ac3b520fdbb0bca
10 changes: 10 additions & 0 deletions trunk/drivers/net/wireless/p54/p54usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,17 @@ static void p54u_rx_cb(struct urb *urb)
urb->context = skb;
skb_queue_tail(&priv->rx_queue, skb);
} else {
if (!priv->hw_type)
skb_push(skb, sizeof(struct net2280_tx_hdr));

skb_reset_tail_pointer(skb);
skb_trim(skb, 0);
if (urb->transfer_buffer != skb_tail_pointer(skb)) {
/* this should not happen */
WARN_ON(1);
urb->transfer_buffer = skb_tail_pointer(skb);
}

skb_queue_tail(&priv->rx_queue, skb);
}

Expand Down

0 comments on commit e95813a

Please sign in to comment.