]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] 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)
committerJames Bottomley <James.Bottomley@suse.de>
Fri, 4 Dec 2009 18:00:22 +0000 (12:00 -0600)
commit5c8332be15490c4f554a90dbad6ccd7a3265f6f2
treea07a6054f476add9d415cc728459066d206128ce
parent31f08dafaba2e370a2ed605e21b3a7b5481ccf44
[SCSI] libfc: fix typo in retry check on received PRLI

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>
drivers/scsi/libfc/fc_rport.c