linux/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
..
Kconfig b43: Dynamically control log verbosity 2009-01-29 16:01:47 -05:00
Makefile b43: Add LP-PHY baseband init for >=rev2 2009-02-09 15:03:48 -05:00
b43.h b43: Pass more RX flags to mac80211 2009-03-05 14:39:40 -05:00
debugfs.c b43: checkpatch.pl cleanups 2009-02-27 14:53:04 -05:00
debugfs.h b43: Dynamically control log verbosity 2009-01-29 16:01:47 -05:00
dma.c b43: Pass more RX flags to mac80211 2009-03-05 14:39:40 -05:00
dma.h b43: Optimize DMA buffers 2009-02-27 14:52:48 -05:00
leds.c b43: Fix possible MMIO access while device is down 2008-06-25 10:55:09 -04:00
leds.h
lo.c b43: checkpatch.pl cleanups 2009-02-27 14:53:04 -05:00
lo.h b43: Implement dynamic PHY API 2008-08-29 16:24:12 -04:00
main.c b43: Mask PHY TX error interrupt, if not debugging 2009-03-27 20:13:03 -04:00
main.h b43: Dynamically control log verbosity 2009-01-29 16:01:47 -05:00
pcmcia.c pcmcia: remove unused argument to pcmcia_parse_tuple() 2008-08-31 15:50:33 +02:00
pcmcia.h
phy_a.c b43: Convert usage of b43_radio_maskset() 2009-02-27 14:52:53 -05:00
phy_a.h b43: Split PHY alloc and init 2008-09-05 16:17:49 -04:00
phy_common.c b43: Suspend MAC while killing the radio 2008-12-19 15:24:04 -05:00
phy_common.h b43: Move Analog switching into phy code 2008-09-08 14:00:16 -04:00
phy_g.c b43: checkpatch.pl cleanups 2009-02-27 14:53:04 -05:00
phy_g.h b43: Split PHY alloc and init 2008-09-05 16:17:49 -04:00
phy_lp.c b43: Add parts of LP-PHY TX power control 2009-02-11 11:44:23 -05:00
phy_lp.h b43: Add parts of LP-PHY TX power control 2009-02-11 11:44:23 -05:00
phy_n.c b43: Move Analog switching into phy code 2008-09-08 14:00:16 -04:00
phy_n.h b43: Split PHY alloc and init 2008-09-05 16:17:49 -04:00
pio.c b43: checkpatch.pl cleanups 2009-02-27 14:53:04 -05:00
pio.h
rfkill.c b43: checkpatch.pl cleanups 2009-02-27 14:53:04 -05:00
rfkill.h
sysfs.c b43: Implement dynamic PHY API 2008-08-29 16:24:12 -04:00
sysfs.h
tables.c b43: Implement dynamic PHY API 2008-08-29 16:24:12 -04:00
tables.h
tables_lpphy.c b43: Add parts of LP-PHY TX power control 2009-02-11 11:44:23 -05:00
tables_lpphy.h b43: Add parts of LP-PHY TX power control 2009-02-11 11:44:23 -05:00
tables_nphy.c b43: Move code from nphy.* to phy_n.* 2008-09-05 16:17:43 -04:00
tables_nphy.h
wa.c b43: Remove bogus integer truncation warnings 2009-02-27 14:53:03 -05:00
wa.h
xmit.c b43: fix b43_plcp_get_bitrate_idx_ofdm return type 2009-03-27 20:13:18 -04:00
xmit.h mac80211/drivers: rewrite the rate control API 2008-10-31 19:00:23 -04:00