be2net: Fix to not set link speed for disabled functions of a UMC card
authorSomnath Kotur <somnath.kotur@emulex.com>
Wed, 2 May 2012 03:40:16 +0000 (03:40 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 May 2012 01:07:24 +0000 (21:07 -0400)
commit22ca7a6e9a68a7e0c149b22ebed9dcd106245bb7
tree1672f3f07b48a1582a828e4dbd1859509aa18329
parent750ea2bafa55aaed208b2583470ecd7122225634
be2net: Fix to not set link speed for disabled functions of a UMC card

This renders the interface view somewhat inconsistent from the Host OS POV
considering the rest of the interfaces are showing their respective speeds
based on the bandwidth assigned to them.

Signed-off-by: Somnath Kotur <somnath.kotur@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/emulex/benet/be_ethtool.c