net: add unknown state to sysfs NIC duplex export
authorNikolay Aleksandrov <naleksan@redhat.com>
Wed, 5 Sep 2012 04:11:28 +0000 (04:11 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 5 Sep 2012 21:40:07 +0000 (17:40 -0400)
Currently when the NIC duplex state is DUPLEX_UNKNOWN it is exported as
full through sysfs, this patch adds support for DUPLEX_UNKNOWN. It is
handled the same way as in ethtool.

Signed-off-by: Nikolay Aleksandrov <naleksan@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found