projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c532a58
)
cfg80211: update dfs_state_entered upon dfs_state change
author
Michal Kazior
<michal.kazior@tieto.com>
Thu, 17 Oct 2013 18:21:12 +0000
(11:21 -0700)
committer
Johannes Berg
<johannes.berg@intel.com>
Mon, 21 Oct 2013 12:50:27 +0000
(14:50 +0200)
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>
net/wireless/mlme.c
patch
|
blob
|
blame
|
history
diff --git
a/net/wireless/mlme.c
b/net/wireless/mlme.c
index edfe6de00e7bbc461a9e31b753531876c4f858cc..6a6b1c8e907df93e73b44a8912a3ae1fda5f80a5 100644
(file)
--- 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);