mac80211_hwsim: Replace bogus hrtimer clockid
authorThomas Gleixner <tglx@linutronix.de>
Sat, 25 Feb 2017 10:27:37 +0000 (10:27 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 12 Jul 2017 13:01:03 +0000 (15:01 +0200)
commit4e84b9c79003fb8d0eb7a82851f48d3ea7843f25
tree8957e67493ac881092cbcb3dfb30c4ef1f7ff895
parentd84e328c0243baf944bbf156209c6ec5d69bd409
mac80211_hwsim: Replace bogus hrtimer clockid

commit 8fbcfeb8a9cc803464d6c166e7991913711c612c upstream.

mac80211_hwsim initializes a hrtimer with clockid
CLOCK_MONOTONIC_RAW. That's not supported.

Use CLOCK_MONOTONIC instead.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/wireless/mac80211_hwsim.c