diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2008-08-04 20:02:01 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2008-08-04 20:02:01 +0200 |
commit | 8f0965f1091a7ecf5f315108b7d7876dc0a68f3b (patch) | |
tree | cd2c70c72ad8252e9ab9efce8210ac026b859371 /src/adapter.c | |
parent | 837961ae742fd6b18f3846683f76a5a58ecae034 (diff) |
Remove SDP server and experimental option
Diffstat (limited to 'src/adapter.c')
-rw-r--r-- | src/adapter.c | 6 |
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; |