freebsd-dev/sys/compat
Bjoern A. Zeeb bec766282f LinuxKPI: 802.11 fix locking in lkpi_stop_hw_scan()
In lkpi_stop_hw_scan() we have to unlock around cancelling the
hardware scan and an msleep to wait for the confirmation that the
scan ended.  Otherwise we are sleeping with the non-sleepable
net80211 com lock held.  At the same time we need to hold the lhw
lock for the msleep().
This lock change got lost in the refactoring of lkpi_iv_newstate().

Reported by:	ambrisko, delphij
PR:		261075
MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
2022-01-10 22:29:23 +00:00
..
freebsd32 exec: Simplify sv_copyout_strings implementations a bit 2021-12-31 12:50:15 -05:00
ia32 sys/compat: Use C99 fixed-width integer types. 2021-12-28 09:41:33 -08:00
lindebugfs Add emulation support for the Linux kcov(4) ioctl API. 2020-09-04 00:12:28 +00:00
linprocfs vfs: remove the unused thread argument from NDINIT* 2021-11-25 22:50:42 +00:00
linsysfs linsysfs: create /sys/bus/ and /sys/subsystem/ 2021-03-11 15:50:51 +00:00
linux linux: Improve debugging by recognizing TIOCGPTPEER 2022-01-10 15:36:11 +00:00
linuxkpi/common LinuxKPI: 802.11 fix locking in lkpi_stop_hw_scan() 2022-01-10 22:29:23 +00:00
x86bios Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many) 2020-02-26 14:26:36 +00:00