Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/inaky/wimax
[deliverable/linux.git] / drivers / net / ixgbevf / vf.c
index 852e9c4fd93484f6f70f653ca413b7e90cc3d342..f6f929958ba0beb3cb3ec60970042976f1062247 100644 (file)
@@ -359,7 +359,8 @@ static s32 ixgbevf_check_mac_link_vf(struct ixgbe_hw *hw,
        else
                *link_up = false;
 
-       if (links_reg & IXGBE_LINKS_SPEED)
+       if ((links_reg & IXGBE_LINKS_SPEED_82599) ==
+           IXGBE_LINKS_SPEED_10G_82599)
                *speed = IXGBE_LINK_SPEED_10GB_FULL;
        else
                *speed = IXGBE_LINK_SPEED_1GB_FULL;
This page took 0.023496 seconds and 5 git commands to generate.