summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2009-02-06 00:47:34 +0100
committerMarcel Holtmann <marcel@holtmann.org>2009-02-06 00:47:34 +0100
commitfcbc5b4bd0e81d7f3c062948675e7f19704ca6da (patch)
tree2ebcd06ec1fd794a9cbd2b6e20fa1de0e980cd73
parentf8601d82ded1e85a9a882b69dfdf091686e20bb8 (diff)
Use 0xff instead of 0xFF
-rw-r--r--src/dbus-hci.c4
1 files changed, 2 insertions, 2 deletions
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;