aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi')
-rw-r--r--drivers/scsi/libfc/fc_disc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/scsi/libfc/fc_disc.c b/drivers/scsi/libfc/fc_disc.c
index ddf494424ff4..fd3a6b287e98 100644
--- a/drivers/scsi/libfc/fc_disc.c
+++ b/drivers/scsi/libfc/fc_disc.c
@@ -629,11 +629,10 @@ static void fc_disc_gpn_ft_resp(struct fc_seq *sp, struct fc_frame *fp,
629 seq_cnt, disc->seq_count, fr_sof(fp), fr_eof(fp)); 629 seq_cnt, disc->seq_count, fr_sof(fp), fr_eof(fp));
630 } 630 }
631 if (buf) { 631 if (buf) {
632 disc->seq_count++;
632 error = fc_disc_gpn_ft_parse(disc, buf, len); 633 error = fc_disc_gpn_ft_parse(disc, buf, len);
633 if (error) 634 if (error)
634 fc_disc_error(disc, fp); 635 fc_disc_error(disc, fp);
635 else
636 disc->seq_count++;
637 } 636 }
638 fc_frame_free(fp); 637 fc_frame_free(fp);
639 638