Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 195162
b: refs/heads/master
c: 78ad389
h: refs/heads/master
v: v3
  • Loading branch information
Sucheta Chakraborty authored and David S. Miller committed May 18, 2010
1 parent d8d869a commit 955743f
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 4d5bdb384813f1928016661f28fd45f8327c081d
refs/heads/master: 78ad38923094a479453f5b02b37a012377a36f34
2 changes: 2 additions & 0 deletions trunk/drivers/net/qlcnic/qlcnic_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -870,6 +870,7 @@ void qlcnic_diag_free_res(struct net_device *netdev, int max_sds_rings)
struct qlcnic_host_sds_ring *sds_ring;
int ring;

clear_bit(__QLCNIC_DEV_UP, &adapter->state);
if (adapter->diag_test == QLCNIC_INTERRUPT_TEST) {
for (ring = 0; ring < adapter->max_sds_rings; ring++) {
sds_ring = &adapter->recv_ctx.sds_rings[ring];
Expand Down Expand Up @@ -920,6 +921,7 @@ int qlcnic_diag_alloc_res(struct net_device *netdev, int test)
qlcnic_enable_int(sds_ring);
}
}
set_bit(__QLCNIC_DEV_UP, &adapter->state);

return 0;
}
Expand Down

0 comments on commit 955743f

Please sign in to comment.