android_kernel_xiaomi_sm8350/drivers/net/wireless/p54
Max Filippov 9f201a8783 p54spi: compensate firmware alignment bug in p54spi_rx
Firmware may insert up to 4 padding bytes after the lmac header,
but it does not amend the size of SPI data transfer.
Such packets has correct data size in header, thus referencing
past the end of allocated skb. Put extra 4 bytes to the end of the
received skb to compensate for this case.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Acked-by: Christian Lamparter <chunkeey@web.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2009-04-22 16:54:27 -04:00
..
Kconfig p54: Kconfig maintenance 2009-03-27 20:13:18 -04:00
Makefile
net2280.h
p54.h p54: replace MAC80211_LEDS with P54_LEDS in p54.h 2009-04-16 10:39:04 -04:00
p54common.c p54: deactivate broken powersave function 2009-04-20 16:36:26 -04:00
p54common.h p54: initial SoftLED support 2009-03-16 18:09:28 -04:00
p54pci.c p54pci: convert printk(KERN_* to dev_* 2009-03-16 18:09:28 -04:00
p54pci.h
p54spi_eeprom.h
p54spi.c p54spi: compensate firmware alignment bug in p54spi_rx 2009-04-22 16:54:27 -04:00
p54spi.h p54spi: remove arch specific dependencies 2009-01-29 16:00:44 -05:00
p54usb.c p54usb: add Telsey 802.11g USB2.0 Adapter 2009-04-16 10:39:12 -04:00
p54usb.h