summaryrefslogtreecommitdiffstats
path: root/hcid/dbus-sdp.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2006-06-02 10:27:57 +0000
committerMarcel Holtmann <marcel@holtmann.org>2006-06-02 10:27:57 +0000
commit5093d69a31cfc7e27235c7e9d6481c82e3867891 (patch)
tree5c1b100f1e5644d5766a7f597eb1d3342fd062ae /hcid/dbus-sdp.c
parent1cb7d5d359881443a53e1859c1dfbf8f947e702b (diff)
Make RFCOMM and SDP support experimental
Diffstat (limited to 'hcid/dbus-sdp.c')
-rw-r--r--hcid/dbus-sdp.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/hcid/dbus-sdp.c b/hcid/dbus-sdp.c
index c31512dc..ea861823 100644
--- a/hcid/dbus-sdp.c
+++ b/hcid/dbus-sdp.c
@@ -1066,6 +1066,9 @@ DBusHandlerResult handle_sdp_method(DBusConnection *conn, DBusMessage *msg, void
{
service_handler_func_t handler;
+ if (!hcid_dbus_use_experimental())
+ return error_unknown_method(conn, msg);
+
handler = find_service_handler(sdp_services, msg);
if (handler)