mirror of https://github.com/torvalds/linux.git
After the call to phy_disconnect() netdev->phydev is reset to NULL.
So fixed_phy_unregister() would be called with a NULL pointer as argument.
Therefore cache the phy_device before this call.
Fixes:
|
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| ftgmac100.c | ||
| ftgmac100.h | ||
| ftmac100.c | ||
| ftmac100.h | ||