mirror of
https://github.com/torvalds/linux.git
synced 2026-12-06 05:14:35 +00:00
A typo in qca808x_read_status means we try to set SMII mode on the port
rather than SGMII when the link speed is not 2.5Gb/s. This results in no
traffic due to the mismatch in configuration between the phy and the
mac.
v2:
Only change interface mode when the link is up
Fixes: 79c7bc0521 ("net: phy: add qca8081 read_status")
Cc: [email protected]
Signed-off-by: Jonathan McDowell <[email protected]>
Reviewed-by: Russell King (Oracle) <[email protected]>
Signed-off-by: David S. Miller <[email protected]>