diff options
| author | Andrew Lunn <[email protected]> | 2018-12-05 21:49:40 +0100 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2018-12-05 16:26:16 -0800 |
| commit | 5f15eed245bc6d7c82d44f0ebcaf62071a9d55bd (patch) | |
| tree | bdc52d9ab8e25aa95f33276c62d01c6ef77a32a8 /tools/perf/scripts/python/check-perf-trace.py | |
| parent | b255e500c8dc111dd9efac1442a85a0dac913feb (diff) | |
net: mii: Fix autoneg in mii_lpa_to_linkmode_lpa_t()
mii_adv_to_linkmode_adv_t() clears all bits before setting it needs to
set. This means the freshly set Autoneg gets cleared.
Change the order, and add comments about it clearing the old content
of the bitmap.
Fixes: c0ec3c273677 ("net: phy: Convert u32 phydev->lp_advertising to linkmode")
Reported-by: Heiner Kallweit <[email protected]>
Signed-off-by: Andrew Lunn <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions