]> git.baikalelectronics.ru Git - kernel.git/commit
cfg80211: fix DFS channel recovery timeout
authorMichal Kazior <michal.kazior@tieto.com>
Thu, 17 Oct 2013 18:21:11 +0000 (11:21 -0700)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 21 Oct 2013 12:50:27 +0000 (14:50 +0200)
commitb26dd55d1e2b266ed8c42021a81b5e2741325794
tree7df77d9c526595b7bb13b5aebf0fe9f6a37a1b47
parent4ef4b9ef4a27029784286a4efe965d04d2a8ea1e
cfg80211: fix DFS channel recovery timeout

The timeout was not properly converted from msecs
to jiffies. As a result channel transition to
NL80211_DFS_USABLE was delayed depending on
CONFIG_HZ configuration, e.g. HZ=100 would delay
the NOP from 30 minutes to 300 minutes.

Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/mlme.c