summaryrefslogtreecommitdiffstats
path: root/src/adapter.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/adapter.c')
-rw-r--r--src/adapter.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/adapter.c b/src/adapter.c
index 5cba591b..cd14b2b7 100644
--- a/src/adapter.c
+++ b/src/adapter.c
@@ -2320,10 +2320,8 @@ int adapter_start(struct adapter *adapter)
if (!(features[6] & LMP_SIMPLE_PAIR))
goto setup;
- if (hcid_dbus_use_experimental()) {
- if (ioctl(dd, HCIGETAUTHINFO, NULL) < 0 && errno != EINVAL)
- hci_write_simple_pairing_mode(dd, 0x01, 2000);
- }
+ if (ioctl(dd, HCIGETAUTHINFO, NULL) < 0 && errno != EINVAL)
+ hci_write_simple_pairing_mode(dd, 0x01, 2000);
if (hci_read_simple_pairing_mode(dd, &dev->ssp_mode, 1000) < 0) {
err = errno;