]> git.baikalelectronics.ru Git - kernel.git/commit
wl1271: Fix warning about unsupported RX rate
authorTeemu Paasikivi <ext-teemu.3.paasikivi@nokia.com>
Thu, 14 Oct 2010 09:00:04 +0000 (11:00 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 15 Nov 2010 18:25:13 +0000 (13:25 -0500)
commit979c309e7c2c0433e37d1d398b72bba63be79335
treeb85bc95b457754514cd59454056ba3b8737c45b0
parente69dcb7c29c2dbf0ecccf50003beade15c11133c
wl1271: Fix warning about unsupported RX rate

While scanning, it is possible that beacon and probe response frames are
received on other band than configured to the driver. In rx status
handling this has caused "Unsupported RX rate from HW" warnings. This
patch changes the wl1271_rate_to_index function to take the band of the
received frame as a parameter instead of using value configuret to
wl->band.

Signed-off-by: Teemu Paasikivi <ext-teemu.3.paasikivi@nokia.com>
Reviewed-by: Juuso Oikarinen <juuso.oikarinen@nokia.com>
Signed-off-by: Luciano Coelho <luciano.coelho@nokia.com>
drivers/net/wireless/wl12xx/wl1271_main.c
drivers/net/wireless/wl12xx/wl1271_rx.c
drivers/net/wireless/wl12xx/wl1271_rx.h
drivers/net/wireless/wl12xx/wl1271_tx.c
drivers/net/wireless/wl12xx/wl1271_tx.h