Lines Matching refs:new_sta
6416 struct sta_info *new_sta = NULL; in ieee80211_prep_connection() local
6464 new_sta = sta_info_alloc_with_link(sdata, ap_mld_addr, in ieee80211_prep_connection()
6468 new_sta = sta_info_alloc(sdata, ap_mld_addr, GFP_KERNEL); in ieee80211_prep_connection()
6470 if (!new_sta) { in ieee80211_prep_connection()
6475 new_sta->sta.mlo = mlo; in ieee80211_prep_connection()
6491 if (new_sta) { in ieee80211_prep_connection()
6496 link_sta = rcu_dereference(new_sta->link[link_id]); in ieee80211_prep_connection()
6499 sta_info_free(local, new_sta); in ieee80211_prep_connection()
6504 err = ieee80211_mgd_setup_link_sta(link, new_sta, in ieee80211_prep_connection()
6508 sta_info_free(local, new_sta); in ieee80211_prep_connection()
6541 if (new_sta || override) { in ieee80211_prep_connection()
6545 if (new_sta) in ieee80211_prep_connection()
6546 sta_info_free(local, new_sta); in ieee80211_prep_connection()
6551 if (new_sta) { in ieee80211_prep_connection()
6562 sta_info_pre_move_state(new_sta, IEEE80211_STA_AUTH); in ieee80211_prep_connection()
6564 err = sta_info_insert(new_sta); in ieee80211_prep_connection()
6565 new_sta = NULL; in ieee80211_prep_connection()