net: bgmac: fix reversed check for MII registration error
It was failing on successful registration returning meaningless errors. Signed-off-by: NRafał Miłecki <rafal@milecki.pl> Fixes: 55954f3b ("net: ethernet: bgmac: move BCMA MDIO Phy code into a separate file") Signed-off-by: NDavid S. Miller <davem@davemloft.net>
Showing
想要评论请 注册 或 登录