summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/lantiq_etop.c
diff options
context:
space:
mode:
authorMichael Chan <michael.chan@broadcom.com>2016-11-11 08:11:43 +0300
committerDavid S. Miller <davem@davemloft.net>2016-11-13 20:37:31 +0300
commit73b9bad63ae3c902ce64221d10a0d371d059748d (patch)
tree0b0517adc1561c013fed7cc059cb4d2796dd78a6 /drivers/net/ethernet/lantiq_etop.c
parent3ffb6a39b751b635a0c50b650064c38b8d371ef2 (diff)
downloadlinux-73b9bad63ae3c902ce64221d10a0d371d059748d.tar.xz
bnxt_en: Fix VF virtual link state.
If the physical link is down and the VF virtual link is set to "enable", the current code does not always work. If the link is down but the cable is attached, the firmware returns LINK_SIGNAL instead of NO_LINK. The current code is treating LINK_SIGNAL as link up. The fix is to treat link as down when the link_status != LINK. Signed-off-by: Michael Chan <michael.chan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/lantiq_etop.c')
0 files changed, 0 insertions, 0 deletions