aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath5k/base.h
diff options
context:
space:
mode:
authorLorenzo Nava <navalorenx@gmail.com>2009-03-22 19:15:41 +0100
committerJohn W. Linville <linville@tuxdriver.com>2009-03-27 20:13:18 -0400
commita3c0b87c4f21911fb7185902dd13f0e3cd7f33f7 (patch)
tree844400c0fb037218c4668cccac7a0b35d711a231 /drivers/net/wireless/ath5k/base.h
parentp54: Kconfig maintenance (diff)
downloadlinux-dev-a3c0b87c4f21911fb7185902dd13f0e3cd7f33f7.tar.xz
linux-dev-a3c0b87c4f21911fb7185902dd13f0e3cd7f33f7.zip
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>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions