mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 22:23:27 +00:00
6497cdba09
Currently, we are checking whether the PHY package mode matches the
individual PHY interface modes at PHY package probe time, but at that time
we only know the PHY package mode and not the individual PHY interface
modes as of_get_phy_mode() that populates it will only get called once the
netdev to which PHY-s are attached to is being probed and thus this check
will always fail and return -EINVAL.
So, lets move this check to .config_init_once as at that point individual
PHY interface modes should be populated.
Fixes:
|
||
---|---|---|
.. | ||
backport-5.15 | ||
backport-6.1 | ||
files | ||
hack-5.15 | ||
hack-6.1 | ||
image | ||
other-files | ||
pending-5.15 | ||
pending-6.1 | ||
config-5.15 | ||
config-6.1 | ||
config-filter | ||
PATCHES |