mii-tool: fix inverted advertising/link features
On a system with a gigabit NIC attached to a 100mbit switch: # mii-tool -v eth0 capabilities: 1000baseT-HD 1000baseT-FD 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD advertising: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD flow-control link partner: 1000baseT-HD 1000baseT-FD 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD flow-control Clearly the last two fields are swapped, and reading the code supports this hypothesis. URL: https://bugs.gentoo.org/393107 URL: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=511395Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Showing
Please register or sign in to comment