[SCSI] bnx2i: Added reconnect fix connecting against Lefthand targets
authorEddie Wai <eddie.wai@broadcom.com>
Sun, 9 Jan 2011 02:00:24 +0000 (18:00 -0800)
committerJames Bottomley <James.Bottomley@suse.de>
Mon, 24 Jan 2011 17:40:30 +0000 (11:40 -0600)
commit70e14722718ea3fc66400924f7a99c7d8c62b8ff
tree9df32c2dafe9c708b3818a15c4f483af06cc27e4
parentb8ce8b59b8d64ee0d864706b9d3cca2a9b314bf5
[SCSI] bnx2i: Added reconnect fix connecting against Lefthand targets

The nopout's reserved field was not being initialized to zero
before being reused.  Stale CDB values from previous SCSI cmds
of the same BHS offset was the cause of the disconnection
initiated by the Lefthand target.

Signed-off-by: Eddie Wai <eddie.wai@broadcom.com>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/bnx2i/bnx2i_hwi.c