Skip to content

mt76: mt7915: make second phy mac unique when overridden - #817

Open
bmork wants to merge 1 commit into
openwrt:masterfrom
bmork:fix-dbdc-macaddress
Open

bmork wants to merge 1 commit into
openwrt:masterfrom
bmork:fix-dbdc-macaddress

Conversation

@bmork

@bmork bmork commented Sep 11, 2023

Copy link
Copy Markdown
Contributor

The phys share a device tree node, so mt76_eeprom_override() will always load the exact same address for both.

Fix by moving the local address modification outside the eeprom fallback block, making it conditional on actual address conflicts. This will also catch any buggy eeprom with the same valid address in both fields.

The phys share a device tree node, so mt76_eeprom_override()
will always load the exact same address for both.

Fix by moving the local address modification outside the
eeprom fallback block, making it conditional on actual
address conflicts. This will also catch any buggy eeprom
with the same valid address in both fields.

Signed-off-by: Bjørn Mork <bjorn@mork.no>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant