Lines Matching refs:new_sta
5171 struct sta_info *new_sta = NULL; in ieee80211_prep_connection() local
5192 new_sta = sta_info_alloc(sdata, cbss->bssid, GFP_KERNEL); in ieee80211_prep_connection()
5193 if (!new_sta) in ieee80211_prep_connection()
5210 if (new_sta) { in ieee80211_prep_connection()
5219 ieee80211_s1g_sta_rate_init(new_sta); in ieee80211_prep_connection()
5244 sta_info_free(local, new_sta); in ieee80211_prep_connection()
5253 new_sta->sta.supp_rates[cbss->channel->band] = rates; in ieee80211_prep_connection()
5298 if (new_sta || override) { in ieee80211_prep_connection()
5301 if (new_sta) in ieee80211_prep_connection()
5302 sta_info_free(local, new_sta); in ieee80211_prep_connection()
5307 if (new_sta) { in ieee80211_prep_connection()
5317 sta_info_pre_move_state(new_sta, IEEE80211_STA_AUTH); in ieee80211_prep_connection()
5319 err = sta_info_insert(new_sta); in ieee80211_prep_connection()
5320 new_sta = NULL; in ieee80211_prep_connection()