diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2017-02-25 10:27:37 +0000 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2017-02-27 14:04:39 +0100 |
commit | 8fbcfeb8a9cc803464d6c166e7991913711c612c (patch) | |
tree | 0c2802745c6f75baf147264004b7d86845a8ac3b | |
parent | b7540d8f25c8034de7e4163fc23ac457bf057731 (diff) | |
download | linux-8fbcfeb8a9cc803464d6c166e7991913711c612c.tar.gz linux-8fbcfeb8a9cc803464d6c166e7991913711c612c.tar.bz2 linux-8fbcfeb8a9cc803464d6c166e7991913711c612c.zip |
mac80211_hwsim: Replace bogus hrtimer clockid
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>
-rw-r--r-- | drivers/net/wireless/mac80211_hwsim.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/mac80211_hwsim.c b/drivers/net/wireless/mac80211_hwsim.c index 1620a5d2757d..0889fc81ce9e 100644 --- a/drivers/net/wireless/mac80211_hwsim.c +++ b/drivers/net/wireless/mac80211_hwsim.c @@ -2671,7 +2671,7 @@ static int mac80211_hwsim_new_radio(struct genl_info *info, tasklet_hrtimer_init(&data->beacon_timer, mac80211_hwsim_beacon, - CLOCK_MONOTONIC_RAW, HRTIMER_MODE_ABS); + CLOCK_MONOTONIC, HRTIMER_MODE_ABS); spin_lock_bh(&hwsim_radio_lock); list_add_tail(&data->list, &hwsim_radios); |