Skip to content

Commit 2e42225

Browse files
KAGA-KOKOgregkh
authored andcommitted
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>
1 parent 93f526f commit 2e42225

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/net/wireless/mac80211_hwsim.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2539,7 +2539,7 @@ static int mac80211_hwsim_new_radio(struct genl_info *info,
25392539

25402540
tasklet_hrtimer_init(&data->beacon_timer,
25412541
mac80211_hwsim_beacon,
2542-
CLOCK_MONOTONIC_RAW, HRTIMER_MODE_ABS);
2542+
CLOCK_MONOTONIC, HRTIMER_MODE_ABS);
25432543

25442544
spin_lock_bh(&hwsim_radio_lock);
25452545
list_add_tail(&data->list, &hwsim_radios);

0 commit comments

Comments
 (0)