commit | 0ce12026d6ea4a24d52ddcde36b9643f2e26d560 | [log] [tgz] |
---|---|---|
author | Eliad Peller <eliad@wizery.com> | Tue Jun 17 13:07:02 2014 +0300 |
committer | Johannes Berg <johannes.berg@intel.com> | Mon Jun 23 11:29:25 2014 +0200 |
tree | b245ae02e5719e1811ee39749c03c6ce5770f010 | |
parent | e33e2241e272eddc38339692500bd1c7d8753a77 [diff] |
cfg80211: fix elapsed_jiffies calculation MAX_JIFFY_OFFSET has no meaning when calculating the elapsed jiffies, as jiffies run out until ULONG_MAX. This miscalculation results in erroneous values in case of a wrap-around. Signed-off-by: Eliad Peller <eliad@wizery.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>