From b654b3368d8b7e36e9f6fb73fc7150a4969a13d8 Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Wed, 13 Sep 2017 11:56:04 +0200 Subject: [PATCH 178/310] acpi_ibm: Disable Bluetooth by default without looking how the hardware is inititialized Obtained from: ElectroBSD --- sys/dev/acpi_support/acpi_ibm.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sys/dev/acpi_support/acpi_ibm.c b/sys/dev/acpi_support/acpi_ibm.c index 84b17dbe9bdd..26f514abc36a 100644 --- a/sys/dev/acpi_support/acpi_ibm.c +++ b/sys/dev/acpi_support/acpi_ibm.c @@ -1019,6 +1019,10 @@ acpi_ibm_sysctl_init(struct acpi_ibm_softc *sc, int method) return (FALSE); case ACPI_IBM_METHOD_BLUETOOTH: + /* Disable bluetooth by default. */ + acpi_ibm_bluetooth_set(sc, 0); + + /* fallthrough */ case ACPI_IBM_METHOD_WLAN: if (ACPI_SUCCESS(acpi_GetInteger(sc->handle, IBM_NAME_WLAN_BT_GET, &dummy))) return (TRUE); -- 2.37.1