aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/ibss.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/mac80211/ibss.c')
-rw-r--r--net/mac80211/ibss.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/mac80211/ibss.c b/net/mac80211/ibss.c
index d38baa41cf6c..a98d370b56f6 100644
--- a/net/mac80211/ibss.c
+++ b/net/mac80211/ibss.c
@@ -265,9 +265,9 @@ static struct sta_info *ieee80211_ibss_finish_sta(struct sta_info *sta,
265 addr, sdata->name); 265 addr, sdata->name);
266#endif 266#endif
267 267
268 sta_info_move_state(sta, IEEE80211_STA_AUTH); 268 sta_info_pre_move_state(sta, IEEE80211_STA_AUTH);
269 sta_info_move_state(sta, IEEE80211_STA_ASSOC); 269 sta_info_pre_move_state(sta, IEEE80211_STA_ASSOC);
270 sta_info_move_state(sta, IEEE80211_STA_AUTHORIZED); 270 sta_info_pre_move_state(sta, IEEE80211_STA_AUTHORIZED);
271 271
272 rate_control_rate_init(sta); 272 rate_control_rate_init(sta);
273 273