diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2019-09-13 16:22:08 +0200 |
---|---|---|
committer | Lubomir Rintel <lkundrak@v3.sk> | 2019-09-16 09:44:27 +0200 |
commit | 1d38bb47b0f14fac3b83498ac7e4036bc5a7fd4b (patch) | |
tree | d1d66fc43689560be89d92112e0e9092e7ce7a18 | |
parent | 43801b77c19e5d3f44d122961e556284c2bcc7ae (diff) | |
download | NetworkManager-lr/bluetooth-rfkill.tar.gz |
device/bt: disable when Bluetooth kill switch is offlr/bluetooth-rfkill
-rw-r--r-- | src/devices/bluetooth/nm-device-bt.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/devices/bluetooth/nm-device-bt.c b/src/devices/bluetooth/nm-device-bt.c index b8acc90577..5b586e2a94 100644 --- a/src/devices/bluetooth/nm-device-bt.c +++ b/src/devices/bluetooth/nm-device-bt.c @@ -8,6 +8,7 @@ #include "nm-device-bt.h" +#include <linux/rfkill.h> #include <stdio.h> #include "nm-bluez-common.h" @@ -1114,6 +1115,7 @@ nm_device_bt_new (NMBluezDevice *bt_device, NM_DEVICE_BT_CAPABILITIES, capabilities, NM_DEVICE_TYPE_DESC, "Bluetooth", NM_DEVICE_DEVICE_TYPE, NM_DEVICE_TYPE_BT, + NM_DEVICE_RFKILL_TYPE, RFKILL_TYPE_BLUETOOTH, NULL); } |