diff options
| author | Philippe Reynes <tremyfr@gmail.com> | 2016-11-06 15:02:32 +0100 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2016-11-09 13:25:14 -0500 |
| commit | b12ab9b11966ee6c724e34b2f0f13ea76932b6bf (patch) | |
| tree | bf59a5ec1224e28f8e315e1abb856d00a5faba14 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | net: xgbe: use new api ethtool_{get|set}_link_ksettings (diff) | |
| download | linux-b12ab9b11966ee6c724e34b2f0f13ea76932b6bf.tar.gz linux-b12ab9b11966ee6c724e34b2f0f13ea76932b6bf.zip | |
net: 3com: typhoon: fix typhoon_get_link_ksettings
When moving from typhoon_get_settings to typhoon_getlink_ksettings
in the commit f7a5537cd2a5 ("net: 3com: typhoon: use new api
ethtool_{get|set}_link_ksettings"), we use a local variable supported
but we forgot to update the struct ethtool_link_ksettings with
this value.
We also initialize advertising to zero, because otherwise it may
be uninitialized if no case of the switch (tp->xcvr_select) is used.
Signed-off-by: Philippe Reynes <tremyfr@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
