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
..
2009-03-05 14:39:40 -05:00
2009-02-27 14:53:04 -05:00
2009-03-05 14:39:40 -05:00
2009-02-27 14:52:48 -05:00
2009-01-29 16:01:47 -05:00
2007-10-10 16:54:11 -07:00
2009-02-27 14:53:04 -05:00
2008-08-29 16:24:12 -04:00
2009-01-29 16:01:47 -05:00
2008-09-05 16:17:49 -04:00
2009-02-27 14:53:04 -05:00
2008-09-05 16:17:49 -04:00
2008-09-05 16:17:49 -04:00
2009-02-27 14:53:04 -05:00
2008-05-21 21:48:11 -04:00
2009-02-27 14:53:04 -05:00
2007-11-10 04:25:12 -05:00
2008-08-29 16:24:12 -04:00
2008-08-29 16:24:12 -04:00
2008-01-28 15:04:31 -08:00
2008-01-28 15:04:31 -08:00