Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 217754
b: refs/heads/master
c: 2932772
h: refs/heads/master
v: v3
  • Loading branch information
Chien Tung authored and Roland Dreier committed Oct 6, 2010
1 parent 1d0fc3c commit 7697ff3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4d8d6389b26d8bee06cd706caf1fd3f1ccaa0205
refs/heads/master: 293277215636e1586fcf6386b0b64457c6dfdb68
4 changes: 3 additions & 1 deletion trunk/drivers/infiniband/hw/nes/nes_verbs.c
Original file line number Diff line number Diff line change
Expand Up @@ -584,7 +584,9 @@ static int nes_query_port(struct ib_device *ibdev, u8 port, struct ib_port_attr
props->lmc = 0;
props->sm_lid = 0;
props->sm_sl = 0;
if (nesvnic->linkup)
if (netif_queue_stopped(netdev))
props->state = IB_PORT_DOWN;
else if (nesvnic->linkup)
props->state = IB_PORT_ACTIVE;
else
props->state = IB_PORT_DOWN;
Expand Down

0 comments on commit 7697ff3

Please sign in to comment.