linux_dsm_epyc7002/drivers/net/ethernet/3com
Philippe Reynes b12ab9b119 net: 3com: typhoon: fix typhoon_get_link_ksettings
When moving from typhoon_get_settings to typhoon_getlink_ksettings
in the commit f7a5537cd2 ("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>
2016-11-09 13:25:14 -05:00
..
3c59x.c net: 3c59x: use new api ethtool_{get|set}_link_ksettings 2016-11-02 15:17:09 -04:00
3c509.c net: 3c509: use new api ethtool_{get|set}_link_ksettings 2016-11-02 15:17:09 -04:00
3c515.c net: deprecate eth_change_mtu, remove usage 2016-10-13 09:36:57 -04:00
3c574_cs.c net: deprecate eth_change_mtu, remove usage 2016-10-13 09:36:57 -04:00
3c589_cs.c net: deprecate eth_change_mtu, remove usage 2016-10-13 09:36:57 -04:00
Kconfig drivers/net: remove all references to obsolete Ethernet-HOWTO 2015-06-23 06:50:35 -07:00
Makefile drivers/net: delete old 8bit ISA 3c501 driver. 2013-01-22 10:39:49 -05:00
typhoon.c net: 3com: typhoon: fix typhoon_get_link_ksettings 2016-11-09 13:25:14 -05:00
typhoon.h