|
@@ -147,14 +147,14 @@ static void fc_lport_rport_callback(struct fc_lport *lport,
|
|
rdata->ids.port_id);
|
|
rdata->ids.port_id);
|
|
|
|
|
|
switch (event) {
|
|
switch (event) {
|
|
- case RPORT_EV_CREATED:
|
|
|
|
|
|
+ case RPORT_EV_READY:
|
|
if (rdata->ids.port_id == FC_FID_DIR_SERV) {
|
|
if (rdata->ids.port_id == FC_FID_DIR_SERV) {
|
|
mutex_lock(&lport->lp_mutex);
|
|
mutex_lock(&lport->lp_mutex);
|
|
if (lport->state == LPORT_ST_DNS) {
|
|
if (lport->state == LPORT_ST_DNS) {
|
|
lport->dns_rp = rdata;
|
|
lport->dns_rp = rdata;
|
|
fc_lport_enter_rpn_id(lport);
|
|
fc_lport_enter_rpn_id(lport);
|
|
} else {
|
|
} else {
|
|
- FC_LPORT_DBG(lport, "Received an CREATED event "
|
|
|
|
|
|
+ FC_LPORT_DBG(lport, "Received an READY event "
|
|
"on port (%6x) for the directory "
|
|
"on port (%6x) for the directory "
|
|
"server, but the lport is not "
|
|
"server, but the lport is not "
|
|
"in the DNS state, it's in the "
|
|
"in the DNS state, it's in the "
|