mirror of
https://github.com/torvalds/linux.git
synced 2024-11-14 16:12:02 +00:00
89980827c7
There were no curly braces in this if condition so it always enabled full duplex. And ecmd->speed is an unsigned short so it is never equal to -1. The effect is that mii_ethtool_sset() fails with -EINVAL and an error is printed to dmesg. Signed-off-by: Dan Carpenter <error27@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net> |
||
---|---|---|
.. | ||
Makefile | ||
pch_gbe_api.c | ||
pch_gbe_api.h | ||
pch_gbe_ethtool.c | ||
pch_gbe_main.c | ||
pch_gbe_param.c | ||
pch_gbe_phy.c | ||
pch_gbe_phy.h | ||
pch_gbe.h |