android_kernel_xiaomi_sm8350/drivers/net/wireless/rt2x00
Iwo Mergler b93ce437eb rt2x00: Fix the beacon length bug
When setting up a beacon template, the length of the beacon is
calculated with the assumption that the SKB already contains
the Tx descriptor. In the case of beacons it doesn't.

This patch undoes the damage by adding the Tx descriptor length
to the beacon length. This is safe, because the shortest possible
beacon is longer than the Tx header.

Signed-off-by: Iwo Mergler <Iwo@call-direct.com.au>
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2008-07-29 16:55:05 -04:00
..
Kconfig
Makefile
rt2x00.h rt2x00: Fix EIFS timing value 2008-07-29 16:55:04 -04:00
rt2x00config.c rt2x00: Fix EIFS timing value 2008-07-29 16:55:04 -04:00
rt2x00debug.c
rt2x00debug.h
rt2x00dev.c rt2x00: Reorganize beacon handling 2008-07-14 14:52:56 -04:00
rt2x00dump.h
rt2x00firmware.c rt2x00: Reset LED assoc status after firmware update 2008-07-14 14:53:00 -04:00
rt2x00leds.c
rt2x00leds.h
rt2x00lib.h rt2x00: Remove duplicate declaration 2008-07-29 16:55:04 -04:00
rt2x00mac.c wireless: fix warnings from QoS patch 2008-07-15 02:08:24 -07:00
rt2x00pci.c
rt2x00pci.h Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux-2.6 2008-07-18 02:39:39 -07:00
rt2x00queue.c rt2x00: Reorganize beacon handling 2008-07-14 14:52:56 -04:00
rt2x00queue.h
rt2x00reg.h
rt2x00rfkill.c
rt2x00usb.c rt2x00: Support for large vendor requests 2008-07-29 16:55:04 -04:00
rt2x00usb.h rt2x00: Large vendor requests for rt73usb firmware upload and beacons 2008-07-29 16:55:05 -04:00
rt61pci.c mac80211: remove IEEE80211_HW_HOST_GEN_BEACON_TEMPLATE flag 2008-07-29 16:36:24 -04:00
rt61pci.h
rt73usb.c rt2x00: Fix the beacon length bug 2008-07-29 16:55:05 -04:00
rt73usb.h
rt2400pci.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 2008-07-14 20:40:34 -07:00
rt2400pci.h
rt2500pci.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 2008-07-14 20:40:34 -07:00
rt2500pci.h rt2x00: Fix register comments 2008-07-08 14:16:06 -04:00
rt2500usb.c rt2x00: Fix the beacon length bug 2008-07-29 16:55:05 -04:00
rt2500usb.h rt2x00: Fix register comments 2008-07-08 14:16:06 -04:00