mirror of
https://github.com/opnsense/src.git
synced 2026-02-25 11:00:15 -05:00
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
13 lines
355 B
Makefile
13 lines
355 B
Makefile
# $Id: Makefile,v 1.2 2003/03/22 23:44:34 max Exp $
|
|
# $FreeBSD$
|
|
|
|
.PATH: ${SRCTOP}/sys/netgraph/bluetooth/drivers/ubt
|
|
|
|
CFLAGS+= -I${SRCTOP}/sys/netgraph/bluetooth/include \
|
|
-I${SRCTOP}/sys/netgraph/bluetooth/drivers/ubt
|
|
|
|
KMOD= ng_ubt
|
|
SRCS= ng_ubt.c ng_ubt_intel.c opt_bus.h opt_usb.h device_if.h \
|
|
bus_if.h usb_if.h usbdevs.h
|
|
|
|
.include <bsd.kmod.mk>
|