Skip to content

Commit 8fbcfeb

Browse files
KAGA-KOKOjmberg-intel
authored andcommitted
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 <[email protected]> Signed-off-by: Johannes Berg <[email protected]>
1 parent b7540d8 commit 8fbcfeb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/wireless/mac80211_hwsim.c

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

26722672
tasklet_hrtimer_init(&data->beacon_timer,
26732673
mac80211_hwsim_beacon,
2674-
CLOCK_MONOTONIC_RAW, HRTIMER_MODE_ABS);
2674+
CLOCK_MONOTONIC, HRTIMER_MODE_ABS);
26752675

26762676
spin_lock_bh(&hwsim_radio_lock);
26772677
list_add_tail(&data->list, &hwsim_radios);

0 commit comments

Comments
 (0)