android_kernel_xiaomi_sm8350/drivers/net/wireless/b43
Lorenzo Nava a3c0b87c4f b43: fix b43_plcp_get_bitrate_idx_ofdm return type
This patch fixes the return type of b43_plcp_get_bitrate_idx_ofdm. If
the plcp contains an error, the function return value is 255 instead
of -1, and the packet was not dropped. This causes a warning in
__ieee80211_rx function because rate idx is out of range.

Cc: stable@kernel.org
Signed-off-by: Lorenzo Nava <navalorenx@gmail.com>
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2009-03-27 20:13:18 -04:00
..
b43.h
debugfs.c
debugfs.h
dma.c
dma.h
Kconfig
leds.c
leds.h
lo.c
lo.h
main.c
main.h
Makefile
pcmcia.c
pcmcia.h
phy_a.c
phy_a.h
phy_common.c
phy_common.h
phy_g.c
phy_g.h
phy_lp.c
phy_lp.h
phy_n.c
phy_n.h
pio.c
pio.h
rfkill.c
rfkill.h
sysfs.c
sysfs.h
tables_lpphy.c
tables_lpphy.h
tables_nphy.c
tables_nphy.h
tables.c
tables.h
wa.c
wa.h
xmit.c
xmit.h