[SCSI] be2iscsi: Proper checking of state
authorJayamohan Kallickal <jayamohank@serverengines.com>
Sat, 23 Jan 2010 00:06:52 +0000 (05:36 +0530)
committerJames Bottomley <James.Bottomley@suse.de>
Tue, 9 Feb 2010 00:34:13 +0000 (18:34 -0600)
commit5dc1c416b39531e3bcf0651ca4123e64228dd553
tree6d907865d8c8accad049c8014b5afb00141ff540
parent230dceb4316da9c8e05c82b64f2527aee95da2ff
[SCSI] be2iscsi: Proper checking of state

This patch adds proper checking of value in for hba state.
We would be adding more states later on

Signed-off-by: Jayamohan Kallickal <jayamohank@serverengines.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/be2iscsi/be_iscsi.c