net: phy: don't use 10BaseT/half as default in genphy_read_status
authorHeiner Kallweit <hkallweit1@gmail.com>
Mon, 18 Feb 2019 19:29:36 +0000 (20:29 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 21 Feb 2019 20:57:25 +0000 (12:57 -0800)
commit51f9f234dac5284333a047b7906f3095d410e6c3
tree07416998503f1924f4d50e3343d43f70ae4e903b
parent40d5432cd50edf2b8a8a466a2ad48b487fec17f6
net: phy: don't use 10BaseT/half as default in genphy_read_status

If link partner and we can't agree on any mode, then it doesn't make
sense to pretend we would have agreed on 10/half. Therefore set a
proper default.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/phy_device.c