summaryrefslogtreecommitdiffstats
path: root/hcid/security.c
diff options
context:
space:
mode:
authorClaudio Takahasi <claudio.takahasi@openbossa.org>2007-05-23 18:32:16 +0000
committerClaudio Takahasi <claudio.takahasi@openbossa.org>2007-05-23 18:32:16 +0000
commit277e0363f2839a05b80c1bc4263cfeaf9909be8c (patch)
tree1a8830c7b7b030e9d4f5031ac08801f8f0474142 /hcid/security.c
parent7cc971c79cd88798c5c40f9cdf85532a7aeab8a9 (diff)
Added device class tracking
Diffstat (limited to 'hcid/security.c')
-rw-r--r--hcid/security.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/hcid/security.c b/hcid/security.c
index 77062dbd..3f72f5cd 100644
--- a/hcid/security.c
+++ b/hcid/security.c
@@ -436,6 +436,9 @@ static inline void cmd_complete(int dev, bdaddr_t *sba, void *ptr)
case cmd_opcode_pack(OGF_HOST_CTL, OCF_WRITE_SCAN_ENABLE):
hcid_dbus_setscan_enable_complete(sba);
break;
+ case cmd_opcode_pack(OGF_HOST_CTL, OCF_WRITE_CLASS_OF_DEV):
+ hcid_dbus_write_class_complete(sba);
+ break;
case cmd_opcode_pack(OGF_LINK_CTL, OCF_PIN_CODE_REPLY):
case cmd_opcode_pack(OGF_LINK_CTL, OCF_PIN_CODE_NEG_REPLY):
hcid_dbus_pin_code_reply(sba, ptr);