libfc: fix typo in retry check on received PRLI
authorJoe Eykholt <jeykholt@cisco.com>
Wed, 21 Oct 2009 23:26:45 +0000 (16:26 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 28 Jan 2010 23:01:25 +0000 (15:01 -0800)
commit1e418b2888ac64de29659d693d70614583d30ddf
tree49c9ca9020ea3dc710f68c497efc7bb547d19bd5
parent253f41bf6ec0c40f6364bdf211f7f7661667e4f8
libfc: fix typo in retry check on received PRLI

commit 85b5893ca97c69e409ecbb5ee90a5d99882369c4 upstream.

A received Fibre Channel ELS PRLI request contains a bit that
indicates whether the remote port supports certain retry processing
sequences.  The test for this bit was somehow coded to use multiply
instead of AND!

This case would apply only for target mode operation, and it is
unlikely to be noticed as an initiator.

Signed-off-by: Joe Eykholt <jeykholt@cisco.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/scsi/libfc/fc_rport.c