Merge branch 'for-john' of git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next
Conflicts: drivers/net/wireless/ath/carl9170/debug.c drivers/net/wireless/ath/carl9170/main.c net/mac80211/ieee80211_i.h
This commit is contained in:
@@ -848,7 +848,7 @@ static void rt61pci_config_lna_gain(struct rt2x00_dev *rt2x00dev,
|
||||
u16 eeprom;
|
||||
short lna_gain = 0;
|
||||
|
||||
if (libconf->conf->channel->band == IEEE80211_BAND_2GHZ) {
|
||||
if (libconf->conf->chandef.chan->band == IEEE80211_BAND_2GHZ) {
|
||||
if (test_bit(CAPABILITY_EXTERNAL_LNA_BG, &rt2x00dev->cap_flags))
|
||||
lna_gain += 14;
|
||||
|
||||
|
Reference in New Issue
Block a user