/* Locking Note: The lport lock is expected to be held before calling this routine.  */
static void fc_lport_enter_ready(struct fc_lport *)
/* Locking Note: The lport lock is expected to be held before calling this routine.  */
static void fc_lport_enter_ready(struct fc_lport *)
{
	FC_LPORT_DBG(lport, "Entered READY from state %s\n",
		     fc_lport_state(lport));
	fc_lport_state_enter(lport, LPORT_ST_READY);
	if (lport->vport)
		fc_vport_set_state(lport->vport, FC_VPORT_ACTIVE);
	fc_vports_linkchange(lport);
	if (!lport->ptp_rdata)
		lport->tt.disc_start(fc_lport_disc_callback, lport);
}