mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
mt76: mt7615: increment the MAC address of the secondary PHY (DBDC)
The hardware does not support using the same MAC address for interfaces, even if they are on different bands. In the future this will be made configurable via device tree Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
@@ -405,6 +405,8 @@ int mt7615_register_ext_phy(struct mt7615_dev *dev)
|
||||
mphy->antenna_mask = BIT(hweight8(phy->chainmask)) - 1;
|
||||
mt7615_init_wiphy(mphy->hw);
|
||||
|
||||
mphy->hw->wiphy->perm_addr[5]++;
|
||||
|
||||
/* second phy can only handle 5 GHz */
|
||||
mphy->sband_2g.sband.n_channels = 0;
|
||||
mphy->hw->wiphy->bands[NL80211_BAND_2GHZ] = NULL;
|
||||
|
||||
Reference in New Issue
Block a user