diff options
| author | Thomas Gleixner <tglx@linutronix.de> | 2017-02-25 05:27:37 -0500 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-02-25 12:48:16 -0500 |
| commit | 915f3e3f76c05b2da93c4cc278eebc2d9219d9f4 (patch) | |
| tree | ce59f9d63e9514edd2a8bad8221c41771ac6b1a4 | |
| parent | 9e314890292c0dd357eadef6a043704fa0b4c157 (diff) | |
mac80211_hwsim: Replace bogus hrtimer clockid
mac80211_hwsim initializes a hrtimer with clockid CLOCK_MONOTONIC_RAW.
That's not supported.
Use CLOCK_MONOTNIC instead.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
| -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, | |||
| 2671 | 2671 | ||
| 2672 | tasklet_hrtimer_init(&data->beacon_timer, | 2672 | tasklet_hrtimer_init(&data->beacon_timer, |
| 2673 | mac80211_hwsim_beacon, | 2673 | mac80211_hwsim_beacon, |
| 2674 | CLOCK_MONOTONIC_RAW, HRTIMER_MODE_ABS); | 2674 | CLOCK_MONOTONIC, HRTIMER_MODE_ABS); |
| 2675 | 2675 | ||
| 2676 | spin_lock_bh(&hwsim_radio_lock); | 2676 | spin_lock_bh(&hwsim_radio_lock); |
| 2677 | list_add_tail(&data->list, &hwsim_radios); | 2677 | list_add_tail(&data->list, &hwsim_radios); |
