Skip to content
Snippets Groups Projects
Unverified Commit 09be087a authored by Roman Azarenko's avatar Roman Azarenko
Browse files

brcm63xx-arm: fix media type setting with autonegotiation disabled

Commit 7d1285b6 introduced an issue with setting media type for a particular port when
autonegotiation is disabled. In this case $subport ends up being undefined, resulting in an error in ethctl, which
leads to the appropriate media type not being set.

This change is designed to fix the above. Additionally cleaned up the conditionals a bit, so that media type is only
determined once and then reused regardless of whether "oncrossbar" is set or not.

Related to IOP-6415
Related to IOP-5001
parent b929c9c8
No related branches found
No related tags found
1 merge request!341brcm63xx-arm: fix media type setting with autonegotiation disabled
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment