diff options
| author | Russell King <[email protected]> | 2020-07-21 12:04:16 +0100 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2020-07-21 15:46:50 -0700 |
| commit | c8cab719cc64f8999503aff584a7bef7edb28e24 (patch) | |
| tree | 4f429f2ef771665567bdad70eb97764a7b059f0c /tools/perf/scripts/python/bin | |
| parent | 7cceb599d15d6639b1298ae400c26d822148e86f (diff) | |
net: phylink: simplify ksettings_set() implementation
Simplify the ksettings_set() implementation to look more like phylib's
implementation; use a switch() for validating the autoneg setting, and
use the linkmode_modify() helper to set the autoneg bit in the
advertisement mask.
Reviewed-by: Ioana Ciornei <[email protected]>
Signed-off-by: Russell King <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions