Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 362627
b: refs/heads/master
c: a4325ea
h: refs/heads/master
i:
  362625: c80a5b9
  362623: 1185774
v: v3
  • Loading branch information
Jitendra Kalsaria authored and David S. Miller committed Apr 18, 2013
1 parent bbbbc58 commit ab42be5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 026ac677414c62550269d53907ea47412ec2bd81
refs/heads/master: a4325ea242d9d0889cb7e86811fef3ff3d714d29
6 changes: 6 additions & 0 deletions trunk/drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c
Original file line number Diff line number Diff line change
Expand Up @@ -1500,6 +1500,12 @@ int qlcnic_83xx_loopback_test(struct net_device *netdev, u8 mode)
}
} while ((adapter->ahw->linkup && ahw->has_link_events) != 1);

/* Make sure carrier is off and queue is stopped during loopback */
if (netif_running(netdev)) {
netif_carrier_off(netdev);
netif_stop_queue(netdev);
}

ret = qlcnic_do_lb_test(adapter, mode);

qlcnic_83xx_clear_lb_mode(adapter, mode);
Expand Down

0 comments on commit ab42be5

Please sign in to comment.