Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bmork
Copy link
Contributor

@bmork bmork commented Sep 11, 2023

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 <[email protected]>
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