Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 203131
b: refs/heads/master
c: d626ad4
h: refs/heads/master
i:
  203129: f7270e0
  203127: 3d76b64
v: v3
  • Loading branch information
Amit Kumar Salecha authored and David S. Miller committed Jun 23, 2010
1 parent 4fbaf7f commit 34cf1ca
Show file tree
Hide file tree
Showing 3 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: 68bf1c68a4b3d9ad0a98f3310f2f79dca075a035
refs/heads/master: d626ad4d84dba1e5bf176320e19765e6dc539b04
2 changes: 1 addition & 1 deletion trunk/drivers/net/qlcnic/qlcnic.h
Original file line number Diff line number Diff line change
Expand Up @@ -573,7 +573,7 @@ struct qlcnic_recv_context {
/*
* Context state
*/

#define QLCNIC_HOST_CTX_STATE_FREED 0
#define QLCNIC_HOST_CTX_STATE_ACTIVE 2

/*
Expand Down
2 changes: 2 additions & 0 deletions trunk/drivers/net/qlcnic/qlcnic_ctx.c
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,8 @@ qlcnic_fw_cmd_destroy_rx_ctx(struct qlcnic_adapter *adapter)
dev_err(&adapter->pdev->dev,
"Failed to destroy rx ctx in firmware\n");
}

recv_ctx->state = QLCNIC_HOST_CTX_STATE_FREED;
}

static int
Expand Down

0 comments on commit 34cf1ca

Please sign in to comment.