summaryrefslogtreecommitdiffstats
path: root/hcid/dbus-adapter.c
diff options
context:
space:
mode:
authorClaudio Takahasi <claudio.takahasi@openbossa.org>2006-09-20 14:43:47 +0000
committerClaudio Takahasi <claudio.takahasi@openbossa.org>2006-09-20 14:43:47 +0000
commitffee48e182962699136a618c9fba5961718de0e1 (patch)
treec77009735783b6d567415624863b82484bb6c1fa /hcid/dbus-adapter.c
parentbdad9f66c2e7341a73b19e1b2b7ad6dfd0a13df5 (diff)
StopPeriodicDiscovery: removed the owner verification
Diffstat (limited to 'hcid/dbus-adapter.c')
-rw-r--r--hcid/dbus-adapter.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/hcid/dbus-adapter.c b/hcid/dbus-adapter.c
index 9edaec79..2d51b22e 100644
--- a/hcid/dbus-adapter.c
+++ b/hcid/dbus-adapter.c
@@ -2373,11 +2373,6 @@ static DBusHandlerResult handle_dev_stop_periodic_req(DBusConnection *conn, DBus
if (!dbus_data->pdisc_active)
return error_not_authorized(conn, msg);
- /* only the requestor can stop the periodic inquiry */
- if (!dbus_data->pdiscovery_requestor ||
- strcmp(dbus_data->pdiscovery_requestor, dbus_message_get_sender(msg)))
- return error_not_authorized(conn, msg);
-
/*
* Cleanup the discovered devices list and send the cmd to exit
* from periodic inquiry mode or cancel remote name request.