diff options
| author | 2010-10-12 23:36:19 +0000 | |
|---|---|---|
| committer | 2010-10-16 11:13:20 -0700 | |
| commit | 89980827c7a1e3c2b36895c22c6ef0e92aea6b0c (patch) | |
| tree | 84a248d335452737f66912fe61f8ad5e9ac3a7e7 /tools/perf/scripts/python | |
| parent | dnet: mark methods static and annotate for correct endianness (diff) | |
pch_gbe: fix if condition in set_settings()
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>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
