[SCSI] bnx2i: Cleaned up various error conditions in ep_connect/disconnect
authorEddie Wai <eddie.wai@broadcom.com>
Tue, 23 Nov 2010 23:29:30 +0000 (15:29 -0800)
committerJames Bottomley <James.Bottomley@suse.de>
Tue, 21 Dec 2010 18:24:15 +0000 (12:24 -0600)
commita91031a6526441ff36552d53363037c3bbca0c5b
treeaa1e70b241807bf19a78dffda99420bfe3ed60ed
parentbee348770dcaeafa57bbd32129ce0cb16a4342d6
[SCSI] bnx2i: Cleaned up various error conditions in ep_connect/disconnect

Various error conditions inside ep_connect and ep_disconnect were
either not being handled or not being handled correctly.  This patch
fixes all those issues.

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