diff options
-rw-r--r-- | net/mac80211/rc80211_pid_algo.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/mac80211/rc80211_pid_algo.c b/net/mac80211/rc80211_pid_algo.c index 962286d893d6..554c4baed6fb 100644 --- a/net/mac80211/rc80211_pid_algo.c +++ b/net/mac80211/rc80211_pid_algo.c | |||
@@ -496,6 +496,8 @@ static void *rate_control_pid_alloc_sta(void *priv, gfp_t gfp) | |||
496 | if (spinfo == NULL) | 496 | if (spinfo == NULL) |
497 | return NULL; | 497 | return NULL; |
498 | 498 | ||
499 | spinfo->last_sample = jiffies; | ||
500 | |||
499 | #ifdef CONFIG_MAC80211_DEBUGFS | 501 | #ifdef CONFIG_MAC80211_DEBUGFS |
500 | spin_lock_init(&spinfo->events.lock); | 502 | spin_lock_init(&spinfo->events.lock); |
501 | init_waitqueue_head(&spinfo->events.waitqueue); | 503 | init_waitqueue_head(&spinfo->events.waitqueue); |