projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad732da
)
mt76: mt7915: fix DBDC default band selection on MT7915D
author
Felix Fietkau
<nbd@nbd.name>
Sat, 19 Mar 2022 07:08:26 +0000
(08:08 +0100)
committer
Felix Fietkau
<nbd@nbd.name>
Fri, 13 May 2022 07:39:34 +0000
(09:39 +0200)
This code was accidentally dropped while adding 6 GHz support
Fixes:
b4d093e321bd
("mt76: mt7915: add 6 GHz support")
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7915/eeprom.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/mediatek/mt76/mt7915/eeprom.c
b/drivers/net/wireless/mediatek/mt76/mt7915/eeprom.c
index
5b133bc
..
4b1a981
100644
(file)
--- a/
drivers/net/wireless/mediatek/mt76/mt7915/eeprom.c
+++ b/
drivers/net/wireless/mediatek/mt76/mt7915/eeprom.c
@@
-152,6
+152,8
@@
static void mt7915_eeprom_parse_band_config(struct mt7915_phy *phy)
phy->mt76->cap.has_2ghz = true;
return;
}
+ } else if (val == MT_EE_BAND_SEL_DEFAULT && dev->dbdc_support) {
+ val = phy->band_idx ? MT_EE_BAND_SEL_5GHZ : MT_EE_BAND_SEL_2GHZ;
}
switch (val) {