Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 255337
b: refs/heads/master
c: 34624d6
h: refs/heads/master
i:
  255335: 6d3a471
v: v3
  • Loading branch information
Sucheta Chakraborty authored and David S. Miller committed Jun 3, 2011
1 parent 621d236 commit 707355c
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: fe09bb619096a0aa139210748ddc668c2dbe2308
refs/heads/master: 34624d6631b6b3a1df16407a847286bb6233a96b
6 changes: 6 additions & 0 deletions trunk/drivers/net/netxen/netxen_nic_hw.c
Original file line number Diff line number Diff line change
Expand Up @@ -809,6 +809,9 @@ int netxen_config_hw_lro(struct netxen_adapter *adapter, int enable)
u64 word;
int rv = 0;

if (!test_bit(__NX_FW_ATTACHED, &adapter->state))
return 0;

memset(&req, 0, sizeof(nx_nic_req_t));

req.qhdr = cpu_to_le64(NX_HOST_REQUEST << 23);
Expand Down Expand Up @@ -959,6 +962,9 @@ int netxen_send_lro_cleanup(struct netxen_adapter *adapter)
u64 word;
int rv;

if (!test_bit(__NX_FW_ATTACHED, &adapter->state))
return 0;

memset(&req, 0, sizeof(nx_nic_req_t));
req.qhdr = cpu_to_le64(NX_HOST_REQUEST << 23);

Expand Down

0 comments on commit 707355c

Please sign in to comment.