[SCSI] qla2xxx: Correct qla2x00_eh_wait_on_command() to wait correctly.
authorLalit Chandivade <lalit.chandivade@qlogic.com>
Tue, 25 Aug 2009 18:36:18 +0000 (11:36 -0700)
committerJames Bottomley <James.Bottomley@suse.de>
Sat, 12 Sep 2009 14:35:21 +0000 (09:35 -0500)
commitd970432c48ab8dd28216e80942723aeb505b623e
tree67bfe6caa2b18fc6e7c740f0d0b0e1b634da5c02
parentab67114935d611caffe18063d1777f8c4f8b4272
[SCSI] qla2xxx: Correct qla2x00_eh_wait_on_command() to wait correctly.

Original code would break-out of loop after only one iteration.

Signed-off-by: Lalit Chandivade <lalit.chandivade@qlogic.com>
Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/qla2xxx/qla_os.c