diff options
Diffstat (limited to 'hcid/dbus-rfcomm.c')
-rw-r--r-- | hcid/dbus-rfcomm.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/hcid/dbus-rfcomm.c b/hcid/dbus-rfcomm.c index 6b5912d8..a7d7cbc1 100644 --- a/hcid/dbus-rfcomm.c +++ b/hcid/dbus-rfcomm.c @@ -702,6 +702,9 @@ DBusHandlerResult handle_rfcomm_method(DBusConnection *conn, DBusMessage *msg, { service_handler_func_t handler; + if (!hcid_dbus_use_experimental()) + return error_unknown_method(conn, msg); + if (!data) { error("RFCOMM method called with NULL data pointer!"); return DBUS_HANDLER_RESULT_NOT_YET_HANDLED; |