projects
/
linux-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mac80211: Use a cfg80211_chan_def in ieee80211_hw_conf_chan
[linux-block.git]
/
drivers
/
net
/
wireless
/
rt2x00
/
rt61pci.c
diff --git
a/drivers/net/wireless/rt2x00/rt61pci.c
b/drivers/net/wireless/rt2x00/rt61pci.c
index f95792cfcf8922e17222fec2feddc34f5117c308..f85035cc836f1cff3eb1abf5125112e904ec874c 100644
(file)
--- a/
drivers/net/wireless/rt2x00/rt61pci.c
+++ b/
drivers/net/wireless/rt2x00/rt61pci.c
@@
-847,7
+847,7
@@
static void rt61pci_config_lna_gain(struct rt2x00_dev *rt2x00dev,
u16 eeprom;
short lna_gain = 0;
- if (libconf->conf->chan
nel
->band == IEEE80211_BAND_2GHZ) {
+ if (libconf->conf->chan
def.chan
->band == IEEE80211_BAND_2GHZ) {
if (test_bit(CAPABILITY_EXTERNAL_LNA_BG, &rt2x00dev->cap_flags))
lna_gain += 14;