]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/message/fusion/mptlan.c
[SCSI] mptlan: bug fix, only half the message frame is dma'd resulting in corruption
[linux-2.6-omap-h63xx.git] / drivers / message / fusion / mptlan.c
index b550471e3042ea619c490028e3aa186c62ff8e96..85583220736990bc0ca369f75134cbc8ae79e039 100644 (file)
@@ -1224,6 +1224,8 @@ mpt_lan_post_receive_buckets(struct mpt_lan_priv *priv)
                }
                pRecvReq = (LANReceivePostRequest_t *) mf;
 
+               i = le16_to_cpu(mf->u.frame.hwhdr.msgctxu.fld.req_idx);
+               mpt_dev->RequestNB[i] = 0;
                count = buckets;
                if (count > max)
                        count = max;