diff options
Diffstat (limited to 'src/dbus-hci.c')
-rw-r--r-- | src/dbus-hci.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/dbus-hci.c b/src/dbus-hci.c index f2b6f2e5..ee9f9cab 100644 --- a/src/dbus-hci.c +++ b/src/dbus-hci.c @@ -1375,8 +1375,7 @@ void hcid_dbus_setscan_enable_complete(bdaddr_t *local) adapter_remove_discov_timeout(adapter); - if (adapter_get_scan_mode(adapter) != rp.enable) - adapter_mode_changed(adapter, rp.enable); + adapter_mode_changed(adapter, rp.enable); failed: if (dd >= 0) |