Lines Matching refs:new_sta
6609 struct sta_info *new_sta = NULL; in ieee80211_prep_connection() local
6657 new_sta = sta_info_alloc_with_link(sdata, ap_mld_addr, in ieee80211_prep_connection()
6661 new_sta = sta_info_alloc(sdata, ap_mld_addr, GFP_KERNEL); in ieee80211_prep_connection()
6663 if (!new_sta) { in ieee80211_prep_connection()
6668 new_sta->sta.mlo = mlo; in ieee80211_prep_connection()
6684 if (new_sta) { in ieee80211_prep_connection()
6689 link_sta = rcu_dereference(new_sta->link[link_id]); in ieee80211_prep_connection()
6692 sta_info_free(local, new_sta); in ieee80211_prep_connection()
6697 err = ieee80211_mgd_setup_link_sta(link, new_sta, in ieee80211_prep_connection()
6701 sta_info_free(local, new_sta); in ieee80211_prep_connection()
6734 if (new_sta || override) { in ieee80211_prep_connection()
6738 if (new_sta) in ieee80211_prep_connection()
6739 sta_info_free(local, new_sta); in ieee80211_prep_connection()
6744 if (new_sta) { in ieee80211_prep_connection()
6755 sta_info_pre_move_state(new_sta, IEEE80211_STA_AUTH); in ieee80211_prep_connection()
6757 err = sta_info_insert(new_sta); in ieee80211_prep_connection()
6758 new_sta = NULL; in ieee80211_prep_connection()