diff options
| author | LABBE Corentin <[email protected]> | 2017-02-15 10:46:41 +0100 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-02-15 13:20:55 -0500 |
| commit | 688495b10ba703c1c13b3d05fcaecff55a320578 (patch) | |
| tree | 6ee7f36661b77a20abb7b3d7abc88755d4472fbd /tools/perf/scripts/python | |
| parent | bd00632c5294bff0ed5826677cd2f1b2e303a6f6 (diff) | |
net: stmmac: set speed at SPEED_UNKNOWN in case of broken speed
In case of invalid speed given, stmmac_adjust_link() still record it as
current speed.
This patch modify the default case to set speed as SPEED_UNKNOWN if not
10/100/1000.
Signed-off-by: Corentin Labbe <[email protected]>
Acked-by: Giuseppe Cavallaro <[email protected]>
Reviewed-by: Giuseppe Cavallaro <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions