mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-20 15:26:43 +01:00
calls callout_drain(9) to un-schedule a scan timer to prevent a page
fault in softclock. Submitted by: sam Reviewed by: jhb, sam (original version), thompsa
This commit is contained in:
parent
5f51fb4871
commit
38812f8ee6
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=193366
@ -131,6 +131,7 @@ ieee80211_scan_detach(struct ieee80211com *ic)
|
||||
scan_signal(ss);
|
||||
IEEE80211_UNLOCK(ic);
|
||||
ieee80211_draintask(ic, &SCAN_PRIVATE(ss)->ss_scan_task);
|
||||
callout_drain(&SCAN_PRIVATE(ss)->ss_scan_timer);
|
||||
KASSERT((ic->ic_flags & IEEE80211_F_SCAN) == 0,
|
||||
("scan still running"));
|
||||
if (ss->ss_ops != NULL) {
|
||||
|
Loading…
Reference in New Issue
Block a user