Johannes Berg ebf348fcd0 cfg80211: validate remain-on-channel time better
The remain-on-channel time validation shouldn't
depend on the value of HZ, as it does now with
the check against jiffies, since then you might
use a value that works on one system but not on
another. Fix it by checking against a minimum
that's fixed.

Also add validation of the wait duration for a
management frame TX since this also translates
into remain-on-channel internally.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2012-06-06 15:20:22 -04:00
..
2012-06-06 15:18:17 -04:00
2012-06-06 15:18:17 -04:00
2012-06-05 15:32:15 -04:00
2012-06-06 15:18:17 -04:00
2012-06-06 15:18:17 -04:00
2010-01-17 19:16:02 -08:00
2012-06-06 15:18:17 -04:00