diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2006-02-14 07:37:57 +0000 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2006-02-14 07:37:57 +0000 |
commit | 4009a83023b266dd0cfa3fd5b9cba7d02dae944a (patch) | |
tree | 32e96c5714a98fab5f575a6cb171e42c01e6e135 /hcid/dbus.c | |
parent | 7bfc46464d3c9c68bb0718d07f0d95764afb8c3b (diff) |
Change parameter for mode selection to string
Diffstat (limited to 'hcid/dbus.c')
-rw-r--r-- | hcid/dbus.c | 4 |
1 files changed, 2 insertions, 2 deletions
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) { |