diff options
author | Teemu Paasikivi <ext-teemu.3.paasikivi@nokia.com> | 2009-10-13 05:47:50 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-10-27 16:48:10 -0400 |
commit | abb0b3bfb2d2411034b721df21c31964265b851e (patch) | |
tree | 8788cfe6c870d4b36baa88e3acba6a4acc9e9c1d /drivers/net/wireless/wl12xx/wl1271_rx.c | |
parent | 311494c47fb670a1fd74eea54fa4d02a56fcc2ad (diff) |
wl1271: Added support to scan on 5 GHz band
Added support to scan 802.11a access points on 5 GHz band when using
wl1273 chip.
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>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx/wl1271_rx.c')
-rw-r--r-- | drivers/net/wireless/wl12xx/wl1271_rx.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/wl12xx/wl1271_rx.c b/drivers/net/wireless/wl12xx/wl1271_rx.c index 7979b69ec52d..66b83e922909 100644 --- a/drivers/net/wireless/wl12xx/wl1271_rx.c +++ b/drivers/net/wireless/wl12xx/wl1271_rx.c | |||
@@ -79,6 +79,9 @@ static void wl1271_rx_status(struct wl1271 *wl, | |||
79 | 79 | ||
80 | if ((desc->flags & WL1271_RX_DESC_BAND_MASK) == WL1271_RX_DESC_BAND_BG) | 80 | if ((desc->flags & WL1271_RX_DESC_BAND_MASK) == WL1271_RX_DESC_BAND_BG) |
81 | status->band = IEEE80211_BAND_2GHZ; | 81 | status->band = IEEE80211_BAND_2GHZ; |
82 | else if ((desc->flags & WL1271_RX_DESC_BAND_MASK) == | ||
83 | WL1271_RX_DESC_BAND_A) | ||
84 | status->band = IEEE80211_BAND_5GHZ; | ||
82 | else | 85 | else |
83 | wl1271_warning("unsupported band 0x%x", | 86 | wl1271_warning("unsupported band 0x%x", |
84 | desc->flags & WL1271_RX_DESC_BAND_MASK); | 87 | desc->flags & WL1271_RX_DESC_BAND_MASK); |