diff options
author | David S. Miller <davem@davemloft.net> | 2021-09-27 14:39:39 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-09-27 14:39:39 +0200 |
commit | ca48aa4ab8bfe0c235cf86cd0d3c11db0808132e (patch) | |
tree | f8972d1f2b016a7a5289f348f6b8326c22f9244b /drivers | |
parent | Merge branch 'mv88e6xxx-mtu-fixes' (diff) | |
parent | mac80211: Fix Ptk0 rekey documentation (diff) | |
download | linux-ca48aa4ab8bfe0c235cf86cd0d3c11db0808132e.tar.xz linux-ca48aa4ab8bfe0c235cf86cd0d3c11db0808132e.zip |
Merge tag 'mac80211-for-net-2021-09-27' of git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211
Johannes berg says:
====================
Some fixes:
* potential use-after-free in CCMP/GCMP RX processing
* potential use-after-free in TX A-MSDU processing
* revert to low data rates for no-ack as the commit
broke other things
* limit VHT MCS/NSS in radiotap injection
* drop frames with invalid addresses in IBSS mode
* check rhashtable_init() return value in mesh
* fix potentially unaligned access in mesh
* fix late beacon hrtimer handling in hwsim (syzbot)
* fix documentation for PTK0 rekeying
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/mac80211_hwsim.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/mac80211_hwsim.c b/drivers/net/wireless/mac80211_hwsim.c index ffa894f7312a..0adae76eb8df 100644 --- a/drivers/net/wireless/mac80211_hwsim.c +++ b/drivers/net/wireless/mac80211_hwsim.c @@ -1867,8 +1867,8 @@ mac80211_hwsim_beacon(struct hrtimer *timer) bcn_int -= data->bcn_delta; data->bcn_delta = 0; } - hrtimer_forward(&data->beacon_timer, hrtimer_get_expires(timer), - ns_to_ktime(bcn_int * NSEC_PER_USEC)); + hrtimer_forward_now(&data->beacon_timer, + ns_to_ktime(bcn_int * NSEC_PER_USEC)); return HRTIMER_RESTART; } |