Lines Matching refs:new_sta
4723 struct sta_info *new_sta = NULL; in ieee80211_prep_connection() local
4744 new_sta = sta_info_alloc(sdata, cbss->bssid, GFP_KERNEL); in ieee80211_prep_connection()
4745 if (!new_sta) in ieee80211_prep_connection()
4762 if (new_sta) { in ieee80211_prep_connection()
4790 new_sta->sta.supp_rates[cbss->channel->band] = rates; in ieee80211_prep_connection()
4834 if (new_sta || override) { in ieee80211_prep_connection()
4837 if (new_sta) in ieee80211_prep_connection()
4838 sta_info_free(local, new_sta); in ieee80211_prep_connection()
4843 if (new_sta) { in ieee80211_prep_connection()
4853 sta_info_pre_move_state(new_sta, IEEE80211_STA_AUTH); in ieee80211_prep_connection()
4855 err = sta_info_insert(new_sta); in ieee80211_prep_connection()
4856 new_sta = NULL; in ieee80211_prep_connection()