Lines Matching refs:new_sta
4316 struct sta_info *new_sta = NULL; in ieee80211_prep_connection() local
4333 new_sta = sta_info_alloc(sdata, cbss->bssid, GFP_KERNEL); in ieee80211_prep_connection()
4334 if (!new_sta) in ieee80211_prep_connection()
4338 if (new_sta || override) { in ieee80211_prep_connection()
4341 if (new_sta) in ieee80211_prep_connection()
4342 sta_info_free(local, new_sta); in ieee80211_prep_connection()
4347 if (new_sta) { in ieee80211_prep_connection()
4360 sta_info_free(local, new_sta); in ieee80211_prep_connection()
4387 new_sta->sta.supp_rates[cbss->channel->band] = rates; in ieee80211_prep_connection()
4436 sta_info_pre_move_state(new_sta, IEEE80211_STA_AUTH); in ieee80211_prep_connection()
4438 err = sta_info_insert(new_sta); in ieee80211_prep_connection()
4439 new_sta = NULL; in ieee80211_prep_connection()