summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2016-09-26 16:10:39 +0200
committerFelix Fietkau <nbd@nbd.name>2016-09-26 16:19:58 +0200
commitda4e81960d64ddfcec03961520de4197166d0799 (patch)
tree01ee138e25fe516227e803449e5b09184d1d0473
parent27ed4e9c14afbae6a91651866d9c9ab2d34342c4 (diff)
downloadmaster-31e0f0ae-da4e81960d64ddfcec03961520de4197166d0799.tar.gz
master-31e0f0ae-da4e81960d64ddfcec03961520de4197166d0799.tar.bz2
master-31e0f0ae-da4e81960d64ddfcec03961520de4197166d0799.zip
mac80211: fix crash in mac80211_hwsim
Signed-off-by: Felix Fietkau <nbd@nbd.name>
-rw-r--r--package/kernel/mac80211/patches/130-mac80211-hwsim-hrtimer-clock.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/kernel/mac80211/patches/130-mac80211-hwsim-hrtimer-clock.patch b/package/kernel/mac80211/patches/130-mac80211-hwsim-hrtimer-clock.patch
new file mode 100644
index 0000000000..cdcd5c8d28
--- /dev/null
+++ b/package/kernel/mac80211/patches/130-mac80211-hwsim-hrtimer-clock.patch
@@ -0,0 +1,11 @@
+--- a/drivers/net/wireless/mac80211_hwsim.c
++++ b/drivers/net/wireless/mac80211_hwsim.c
+@@ -2631,7 +2631,7 @@ static int mac80211_hwsim_new_radio(stru
+
+ 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);