From: Lorenzo Nava Date: Sun, 22 Mar 2009 18:15:41 +0000 (+0100) Subject: b43: fix b43_plcp_get_bitrate_idx_ofdm return type X-Git-Tag: v2.6.30-rc1~642^2^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a3c0b87c4f21911fb7185902dd13f0e3cd7f33f7;p=pandora-kernel.git 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 Signed-off-by: Michael Buesch Signed-off-by: John W. Linville --- Reading git-diff-tree failed