[ipoib] Fix a bug in check sum mechanism. (mlnx: 3123)
authortzachid <tzachid@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Mon, 8 Sep 2008 07:50:25 +0000 (07:50 +0000)
committertzachid <tzachid@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Mon, 8 Sep 2008 07:50:25 +0000 (07:50 +0000)
Signed off by: anatolyg@voltaire.com

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1573 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

ulp/ipoib/kernel/ipoib_port.c

index dbc7c01..14d1d21 100644 (file)
@@ -3915,7 +3915,7 @@ __build_send_desc(
        p_desc->wr.p_next = NULL;\r
        p_desc->wr.wr_id = (uintn_t)p_desc->p_pkt;\r
 \r
-       if(p_port->p_adapter->params.send_chksum_offload & \r
+       if(p_port->p_adapter->params.send_chksum_offload && \r
                (pChecksumPktInfo->Transmit.NdisPacketChecksumV4 || pChecksumPktInfo->Transmit.NdisPacketChecksumV6))\r
        {\r
                // Set transimition checksum offloading \r