diff options
author | Michal Kazior <michal.kazior@tieto.com> | 2013-10-17 18:21:12 (GMT) |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-10-21 12:50:27 (GMT) |
commit | bbe09bbcf4454e826e3fb08e87d81f32c0030658 (patch) | |
tree | 77697feec769b28349458e523ab1861e5238d066 /net/wireless | |
parent | c532a58b0fb4b2b3309e6b87bafb44f36808aa6f (diff) | |
download | linux-fsl-qoriq-bbe09bbcf4454e826e3fb08e87d81f32c0030658.tar.xz |
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 edfe6de..6a6b1c8 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) if (time_after_eq(jiffies, timeout)) { c->dfs_state = NL80211_DFS_USABLE; + c->dfs_state_entered = jiffies; + cfg80211_chandef_create(&chandef, c, NL80211_CHAN_NO_HT); |