/* login pending - awaiting space in request queue  */
static void bfa_lps_sm_loginwait(struct bfa_lps_s *lps, enum bfa_lps_event event)
/* login pending - awaiting space in request queue  */
static void bfa_lps_sm_loginwait(struct bfa_lps_s *lps, enum bfa_lps_event event)
{
	bfa_trc(lps->bfa, lps->lp_tag);
	bfa_trc(lps->bfa, event);
	switch (event) {
	case BFA_LPS_SM_RESUME:
		bfa_sm_set_state(lps, bfa_lps_sm_login);
		break;
	case BFA_LPS_SM_OFFLINE:
		bfa_sm_set_state(lps, bfa_lps_sm_init);
		bfa_reqq_wcancel(&lps->wqe);
		break;
	default:
		bfa_assert(0);
	}
}