[SCSI] be2iscsi: Fix checking Adapter state while establishing CXN
authorJayamohan Kallickal <jayamohank@gmail.com>
Sat, 6 Apr 2013 03:38:33 +0000 (20:38 -0700)
committerJames Bottomley <JBottomley@Parallels.com>
Thu, 2 May 2013 15:15:54 +0000 (08:15 -0700)
commitcf6e3c6444edfeaea65994709e5cdf3f337625d4
tree0ad696d4567448a1853a960c921270fc40dac3ae
parenta7909b396ba79a5d2975d37fe60e1ad53c22e206
[SCSI] be2iscsi: Fix checking Adapter state while establishing CXN

Before tyring to establish a CXN with the target, check if the adapter is in
a stable state

Signed-off-by: John Soni Jose <sony.john-n@emulex.com>
Signed-off-by: Jayamohan Kallickal <jayamohan.kallickal@emulex.com>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/be2iscsi/be_iscsi.c