wulf c83c64153a 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
..
2018-07-07 15:55:52 +00:00
2018-05-24 17:06:00 +00:00
2018-11-01 23:11:47 +00:00
2018-07-17 23:23:45 +00:00
2019-05-30 13:52:32 +00:00
2019-03-01 04:17:43 +00:00
2019-03-28 08:30:45 +00:00
2019-03-28 08:30:45 +00:00
2019-03-28 08:59:11 +00:00
2019-06-06 03:02:25 +00:00
2018-12-05 14:11:20 +00:00
2018-12-05 14:11:20 +00:00
2019-08-16 20:30:31 +00:00
2019-03-28 08:59:11 +00:00
2018-11-28 13:53:43 +00:00
2018-07-20 17:46:55 +00:00
2019-07-01 17:05:41 +00:00
2019-03-28 08:59:11 +00:00
2018-07-03 21:02:25 +00:00
2019-02-26 19:55:03 +00:00
2019-08-15 16:27:04 +00:00