aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/libfc/fc_lport.c
diff options
context:
space:
mode:
authorRobert Love <robert.w.love@intel.com>2009-02-27 13:55:18 -0500
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2009-03-06 16:41:01 -0500
commit5101ff99f59aefb72e0c96e82aa32048ac9f8425 (patch)
tree83fba57c7cf542eed4466265619632e7d804eb88 /drivers/scsi/libfc/fc_lport.c
parentf7db2c150cf5082cf74555f30a1305938041de80 (diff)
[SCSI] libfc: Don't violate transport template for rogue port creation
Signed-off-by: Robert Love <robert.w.love@intel.com> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
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 e6ea4f119530..07335ae2947c 100644
--- a/drivers/scsi/libfc/fc_lport.c
+++ b/drivers/scsi/libfc/fc_lport.c
@@ -232,7 +232,7 @@ static void fc_lport_ptp_setup(struct fc_lport *lport,
232 lport->ptp_rp = NULL; 232 lport->ptp_rp = NULL;
233 } 233 }
234 234
235 lport->ptp_rp = fc_rport_rogue_create(&dp); 235 lport->ptp_rp = lport->tt.rport_create(&dp);
236 236
237 lport->tt.rport_login(lport->ptp_rp); 237 lport->tt.rport_login(lport->ptp_rp);
238 238
@@ -1282,7 +1282,7 @@ static void fc_lport_enter_dns(struct fc_lport *lport)
1282 1282
1283 fc_lport_state_enter(lport, LPORT_ST_DNS); 1283 fc_lport_state_enter(lport, LPORT_ST_DNS);
1284 1284
1285 rport = fc_rport_rogue_create(&dp); 1285 rport = lport->tt.rport_create(&dp);
1286 if (!rport) 1286 if (!rport)
1287 goto err; 1287 goto err;
1288 1288