diff options
author | Luiz Augusto von Dentz <luiz.dentz@indt.org.br> | 2008-09-04 15:22:07 -0300 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.dentz@indt.org.br> | 2008-09-04 15:35:54 -0300 |
commit | ed987c2f6d5bcdce7e53d9555bf8ce1f32e4703e (patch) | |
tree | d0badc11ae3ae14d41362bdd4fe9a9045cb9a716 /src/dbus-hci.c | |
parent | 417a338e3e2ddde0685d2193c7bfbe9c5f20f920 (diff) |
Fix session handling and add a better debug output for them.
Diffstat (limited to 'src/dbus-hci.c')
-rw-r--r-- | src/dbus-hci.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/dbus-hci.c b/src/dbus-hci.c index 6370e44c..b559e148 100644 --- a/src/dbus-hci.c +++ b/src/dbus-hci.c @@ -1588,9 +1588,6 @@ int cancel_periodic_discovery(struct btd_adapter *adapter) int dd, err = 0; uint16_t dev_id = adapter_get_dev_id(adapter); - if (!(adapter_get_state(adapter) & PERIODIC_INQUIRY)) - return err; - dd = hci_open_dev(dev_id); if (dd < 0) return -ENODEV; |