aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/libfc/fc_lport.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/libfc/fc_lport.c')
-rw-r--r--drivers/scsi/libfc/fc_lport.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/libfc/fc_lport.c b/drivers/scsi/libfc/fc_lport.c
index f7bff2cad4ee..ec9850c46170 100644
--- a/drivers/scsi/libfc/fc_lport.c
+++ b/drivers/scsi/libfc/fc_lport.c
@@ -906,10 +906,10 @@ static void fc_lport_recv_req(struct fc_lport *lport, struct fc_seq *sp,
906 recv = lport->tt.rport_recv_req; 906 recv = lport->tt.rport_recv_req;
907 switch (fc_frame_payload_op(fp)) { 907 switch (fc_frame_payload_op(fp)) {
908 case ELS_FLOGI: 908 case ELS_FLOGI:
909 recv = fc_lport_recv_flogi_req; 909 if (!lport->point_to_multipoint)
910 recv = fc_lport_recv_flogi_req;
910 break; 911 break;
911 case ELS_LOGO: 912 case ELS_LOGO:
912 fh = fc_frame_header_get(fp);
913 if (ntoh24(fh->fh_s_id) == FC_FID_FLOGI) 913 if (ntoh24(fh->fh_s_id) == FC_FID_FLOGI)
914 recv = fc_lport_recv_logo_req; 914 recv = fc_lport_recv_logo_req;
915 break; 915 break;