Commit 96c77770 authored by Felix Fietkau's avatar Felix Fietkau
Browse files

mt76: mt7915: fix DBDC default band selection on MT7915D



This code was accidentally dropped while adding 6 GHz support

Fixes: b4d093e3 ("mt76: mt7915: add 6 GHz support")
Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
parent ad732da4
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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) {