[SCSI] mpt2sas: fix infinite loop inside config request
commit6bd4e1e4d6023f4da069fd68729c502cc4e6dfd0
authorKashyap, Desai <kashyap.desai@lsi.com>
Fri, 7 Aug 2009 14:07:14 +0000 (7 19:37 +0530)
committerJames Bottomley <James.Bottomley@suse.de>
Thu, 13 Aug 2009 21:30:03 +0000 (13 16:30 -0500)
tree8d72a054d45f1a779b0b7cf0f7d332646c6842a4
parentbe9e8cd75ce8d94ae4aab721fdcc337fa78a9090
[SCSI] mpt2sas: fix infinite loop inside config request

This restriction is introduced just to avoid loop of
config_request. Retry must be limited so we have restricted
config request to maximum 2 times.

Signed-off-by: Kashyap Desai <kashyap.desai@lsi.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/mpt2sas/mpt2sas_config.c