libfc: Correct check for initiator role
authorMark Rustad <mark.d.rustad@intel.com>
Wed, 20 Mar 2013 07:17:55 +0000 (07:17 +0000)
committerRobert Love <robert.w.love@intel.com>
Fri, 10 May 2013 17:19:22 +0000 (10:19 -0700)
commit732bdb9d141879b1b5b357f934553fe827c1f46b
tree411cb7df1a171f1a885b5084dc7ecd3845bc7455
parente6c10b7c5e0e7c6ecf7d60f502c7eeaf3361b48f
libfc: Correct check for initiator role

The service_params field is being checked against the symbol
FC_RPORT_ROLE_FCP_INITIATOR where it really should be checked
against FCP_SPPF_INIT_FCN.

Signed-off-by: Mark Rustad <mark.d.rustad@intel.com>
Tested-by: Jack Morgan <jack.morgan@intel.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
drivers/scsi/libfc/fc_rport.c