|
@@ -293,6 +293,8 @@ struct sta_info *sta_info_alloc(struct ieee80211_sub_if_data *sdata,
|
|
sta->sdata = sdata;
|
|
sta->sdata = sdata;
|
|
sta->last_rx = jiffies;
|
|
sta->last_rx = jiffies;
|
|
|
|
|
|
|
|
+ sta->sta_state = IEEE80211_STA_NONE;
|
|
|
|
+
|
|
do_posix_clock_monotonic_gettime(&uptime);
|
|
do_posix_clock_monotonic_gettime(&uptime);
|
|
sta->last_connected = uptime.tv_sec;
|
|
sta->last_connected = uptime.tv_sec;
|
|
ewma_init(&sta->avg_signal, 1024, 8);
|
|
ewma_init(&sta->avg_signal, 1024, 8);
|