summaryrefslogtreecommitdiffstats
path: root/src/dbus-hci.c
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2008-11-29 21:45:14 +0200
committerJohan Hedberg <johan.hedberg@nokia.com>2008-11-29 21:45:14 +0200
commitfaeb00ab84d97bf5e59f36f5a962af50f22919f4 (patch)
tree844c0575b4b222b4932c19f29d1e3269f2699575 /src/dbus-hci.c
parent7719613581c592d41c96be7f2334c7923d59f3c2 (diff)
Clean up scan mode related code
Diffstat (limited to 'src/dbus-hci.c')
-rw-r--r--src/dbus-hci.c3
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)