diff options
author | Amit Kumar Salecha <amit.salecha@qlogic.com> | 2010-10-07 23:46:07 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-10-08 13:59:09 -0700 |
commit | a2152d096e0cd8593e883f72e875195ea0e89bb7 (patch) | |
tree | 218bfa4fcf6accd3b62c2972ecd7127de07b3de6 /drivers/net/qlcnic/qlcnic_hw.c | |
parent | b8c17620458b82fd868f4813e1ff18368a832b7c (diff) | |
download | lwn-a2152d096e0cd8593e883f72e875195ea0e89bb7.tar.gz lwn-a2152d096e0cd8593e883f72e875195ea0e89bb7.zip |
qlcnic: remove private LRO flag
LRO was not getting enable after interface down/up.
Signed-off-by: Amit Kumar Salecha <amit.salecha@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/qlcnic/qlcnic_hw.c')
-rw-r--r-- | drivers/net/qlcnic/qlcnic_hw.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/net/qlcnic/qlcnic_hw.c b/drivers/net/qlcnic/qlcnic_hw.c index 9d3e16dbd043..7f1f9b4ca0ff 100644 --- a/drivers/net/qlcnic/qlcnic_hw.c +++ b/drivers/net/qlcnic/qlcnic_hw.c @@ -582,9 +582,6 @@ int qlcnic_config_hw_lro(struct qlcnic_adapter *adapter, int enable) u64 word; int rv; - if ((adapter->flags & QLCNIC_LRO_ENABLED) == enable) - return 0; - memset(&req, 0, sizeof(struct qlcnic_nic_req)); req.qhdr = cpu_to_le64(QLCNIC_HOST_REQUEST << 23); @@ -599,8 +596,6 @@ int qlcnic_config_hw_lro(struct qlcnic_adapter *adapter, int enable) dev_err(&adapter->netdev->dev, "Could not send configure hw lro request\n"); - adapter->flags ^= QLCNIC_LRO_ENABLED; - return rv; } |