Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/openwrt/mt76.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mt7915/eeprom.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mt7915/eeprom.c b/mt7915/eeprom.c
index e2482c65..83bced0c 100644
--- a/mt7915/eeprom.c
+++ b/mt7915/eeprom.c
@@ -208,6 +208,8 @@ void mt7915_eeprom_parse_hw_cap(struct mt7915_dev *dev,
nss_max = 2;
}
+ if (!nss)
+ nss = nss_max;
nss = min_t(u8, min_t(u8, nss_max, nss), path);
mphy->chainmask = BIT(path) - 1;