Vladimir Kondratyev 3544d43bb1 ng_ubt(4): do not attach Intel Wireless 8260/8265 in bootloader mode.
Add helper function for synchronous execution of HCI commands at probe
stage and use this function to check firmware state of Intel Wireless
8260/8265 bluetooth devices found in many post 2016 year laptops.

Attempt to initialize FreeBSD bluetooth stack while such a device is in
bootloader mode locks the adapter hardly so it requires power on/off
cycle to restore.

This change blocks ng_ubt attachment unless operational firmware is
loaded thus preventing the lock up.

PR:			237083
Reviewed by:		hps, emax
MFC after:		2 weeks
Differential Revision:	https://reviews.freebsd.org/D21071
2019-08-18 22:11:42 +00:00
..
2019-07-19 17:48:29 +00:00
2019-06-25 04:50:09 +00:00
2019-08-08 03:27:46 +00:00
2019-06-25 04:50:09 +00:00
2019-08-08 16:54:22 +00:00
2018-11-01 23:11:47 +00:00
2018-11-01 23:11:47 +00:00
2019-08-12 23:25:21 +00:00
2019-08-13 20:06:55 +00:00
2018-04-12 17:43:19 +00:00