/* Called to create a rport for which only the wwn is known. */
struct bfa_fcs_rport_s* bfa_fcs_rport_create_by_wwn(struct bfa_fcs_port_s *port, wwn_t rpwwn)
/* Called to create a rport for which only the wwn is known. */
struct bfa_fcs_rport_s* bfa_fcs_rport_create_by_wwn(struct bfa_fcs_port_s *port, wwn_t rpwwn)
{
	struct bfa_fcs_rport_s *rport;
	bfa_trc(port->fcs, rpwwn);
	rport = bfa_fcs_rport_alloc(port, rpwwn, 0);
	if (!rport)
		return NULL;
	bfa_sm_send_event(rport, RPSM_EVENT_ADDRESS_DISC);
	return rport;
}