aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChristian Lamparter <chunkeey@web.de>2008-08-13 23:41:48 +0200
committerJohn W. Linville <linville@tuxdriver.com>2008-08-18 11:05:14 -0400
commitd47c3cebf5aae9d72b2cc18e5ac3b520fdbb0bca (patch)
treea4cb7ec92904ac278f8a9ad3e7176de7ef48e136 /include
parent69bbc7dc9f59fedb6067c7f9f9f9bc1da27407ad (diff)
p54u: reset skb's data/tail pointer on requeue
(Only important for USB V1 Adaptors) If an incoming frame wasn't accepted by p54_rx function the skb will be reused for new frames... But, we must not forget to set the skb's data pointers into the same state in which it was initialized by p54u_init_urbs. Otherwise we either end up with 16 bytes less on every requeue, or if a new frame is worthy enough to be accepted, the data is in the wrong place (urb->transfer_buffer wasn't updated!) and mac80211 has a hard time to recognize it... Signed-off-by: Christian Lamparter <chunkeey@web.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions