diff options
author | Michal Kazior <michal.kazior@tieto.com> | 2013-10-17 14:21:12 -0400 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-10-21 08:50:27 -0400 |
commit | bbe09bbcf4454e826e3fb08e87d81f32c0030658 (patch) | |
tree | 77697feec769b28349458e523ab1861e5238d066 /net/wireless | |
parent | c532a58b0fb4b2b3309e6b87bafb44f36808aa6f (diff) |
cfg80211: update dfs_state_entered upon dfs_state change
The timestamp wasn't updated after transitioning
to the NL80211_DFS_USABLE state after NOP time.
Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless')
-rw-r--r-- | net/wireless/mlme.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/wireless/mlme.c b/net/wireless/mlme.c index edfe6de00e7b..6a6b1c8e907d 100644 --- a/net/wireless/mlme.c +++ b/net/wireless/mlme.c | |||
@@ -712,6 +712,8 @@ void cfg80211_dfs_channels_update_work(struct work_struct *work) | |||
712 | 712 | ||
713 | if (time_after_eq(jiffies, timeout)) { | 713 | if (time_after_eq(jiffies, timeout)) { |
714 | c->dfs_state = NL80211_DFS_USABLE; | 714 | c->dfs_state = NL80211_DFS_USABLE; |
715 | c->dfs_state_entered = jiffies; | ||
716 | |||
715 | cfg80211_chandef_create(&chandef, c, | 717 | cfg80211_chandef_create(&chandef, c, |
716 | NL80211_CHAN_NO_HT); | 718 | NL80211_CHAN_NO_HT); |
717 | 719 | ||