From fcbc5b4bd0e81d7f3c062948675e7f19704ca6da Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Fri, 6 Feb 2009 00:47:34 +0100 Subject: Use 0xff instead of 0xFF --- src/dbus-hci.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/dbus-hci.c') diff --git a/src/dbus-hci.c b/src/dbus-hci.c index 49af9ba6..879648e6 100644 --- a/src/dbus-hci.c +++ b/src/dbus-hci.c @@ -922,14 +922,14 @@ int hcid_dbus_link_key_notify(bdaddr_t *local, bdaddr_t *peer, /* If this is not the first link key set a flag so a subsequent auth * complete event doesn't trigger SDP */ - if (old_key_type != 0xFF) + if (old_key_type != 0xff) device_set_renewed_key(device, TRUE); device_set_temporary(device, FALSE); if (!device_is_connected(device)) device_set_secmode3_conn(device, TRUE); - else if (!device_is_bonding(device, NULL) && old_key_type == 0xFF) + else if (!device_is_bonding(device, NULL) && old_key_type == 0xff) hcid_dbus_bonding_process_complete(local, peer, 0); return 0; -- cgit