From: Johannes Berg Date: Fri, 1 Jun 2012 10:50:54 +0000 (+0200) Subject: cfg80211: validate remain-on-channel time better X-Git-Tag: v3.6-rc1~125^2~559^2~41 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ebf348fcd088e3ffc6e76f6f349e27d30604865b;p=pandora-kernel.git 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 Signed-off-by: John W. Linville --- Reading git-diff-tree failed