From 104dd5cb0a40726a3a911a86b779b362b1917b84 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sat, 19 Mar 2022 08:08:26 +0100 Subject: [PATCH] mt76: mt7915: fix DBDC default band selection on MT7915D This code was accidentally dropped while adding 6 GHz support Signed-off-by: Felix Fietkau --- mt7915/eeprom.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mt7915/eeprom.c b/mt7915/eeprom.c index 5b133bcd..4b1a9811 100644 --- a/mt7915/eeprom.c +++ b/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) {