git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
rt2x00: Check for 5GHz band in link tuner
[pandora-kernel.git]
/
drivers
/
net
/
wireless
/
rt2x00
/
rt61pci.c
diff --git
a/drivers/net/wireless/rt2x00/rt61pci.c
b/drivers/net/wireless/rt2x00/rt61pci.c
index
d08349b
..
091fe39
100644
(file)
--- a/
drivers/net/wireless/rt2x00/rt61pci.c
+++ b/
drivers/net/wireless/rt2x00/rt61pci.c
@@
-769,7
+769,7
@@
static void rt61pci_link_tuner(struct rt2x00_dev *rt2x00dev)
/*
* Determine r17 bounds.
*/
- if (rt2x00dev->rx_status.band == IEEE80211_BAND_
2
GHZ) {
+ if (rt2x00dev->rx_status.band == IEEE80211_BAND_
5
GHZ) {
low_bound = 0x28;
up_bound = 0x48;
if (test_bit(CONFIG_EXTERNAL_LNA_A, &rt2x00dev->flags)) {