commit | a788859649b75a6e4514337a9a5d4a60fd709904 | [log] [tgz] |
---|---|---|
author | Philippe Reynes <tremyfr@gmail.com> | Sun Nov 13 18:53:28 2016 +0100 |
committer | David S. Miller <davem@davemloft.net> | Mon Nov 14 13:37:43 2016 -0500 |
tree | 0b4d5d680084abe5955841a28745ee9094e7f290 | |
parent | 1dae02b3719a343f060412179a048833b78680c1 [diff] |
net: atheros: atl2: use new api ethtool_{get|set}_link_ksettings The ethtool api {get|set}_settings is deprecated. We move this driver to new api {get|set}_link_ksettings. The previous implementation of set_settings was modifying the value of advertising, but with the new API, it's not possible. The structure ethtool_link_ksettings is defined as const. Signed-off-by: Philippe Reynes <tremyfr@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>