From 4009a83023b266dd0cfa3fd5b9cba7d02dae944a Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Tue, 14 Feb 2006 07:37:57 +0000 Subject: Change parameter for mode selection to string --- hcid/dbus.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'hcid/dbus.c') diff --git a/hcid/dbus.c b/hcid/dbus.c index fadc98d8..ad5b549d 100644 --- a/hcid/dbus.c +++ b/hcid/dbus.c @@ -1054,7 +1054,7 @@ void hcid_dbus_setscan_enable_complete(bdaddr_t *local) struct hci_request rq; int id; int dd = -1; - uint8_t scan_mode; + const char *scan_mode; baswap(&tmp, local); local_addr = batostr(&tmp); id = hci_devid(local_addr); @@ -1123,7 +1123,7 @@ void hcid_dbus_setscan_enable_complete(bdaddr_t *local) } dbus_message_append_args(message, - DBUS_TYPE_BYTE, &scan_mode, + DBUS_TYPE_STRING, &scan_mode, DBUS_TYPE_INVALID); if (dbus_connection_send(connection, message, NULL) == FALSE) { -- cgit