android_kernel_xiaomi_sm8350/drivers/net/wireless/p54
Christian Lamparter d47c3cebf5 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>
2008-08-18 11:05:14 -04:00
..
Kconfig
Makefile
net2280.h
p54.h p54: Fix for TX sequence number problem 2008-08-07 09:49:04 -04:00
p54common.c p54: move p54_vdcf_init to the right place. 2008-08-18 11:05:14 -04:00
p54common.h p54: Fix regression due to "net: Delete NETDEVICES_MULTIQUEUE kconfig option" 2008-08-18 11:05:12 -04:00
p54pci.c
p54pci.h
p54usb.c p54u: reset skb's data/tail pointer on requeue 2008-08-18 11:05:14 -04:00
p54usb.h