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)
commitc532a58b0fb4b2b3309e6b87bafb44f36808aa6f
tree7df77d9c526595b7bb13b5aebf0fe9f6a37a1b47
parent79845c662eeb95c9a180b9bd0d3ad848ee65b94c
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