diff options
author | markus <markus@FreeBSD.org> | 2006-02-10 19:54:17 +0000 |
---|---|---|
committer | markus <markus@FreeBSD.org> | 2006-02-10 19:54:17 +0000 |
commit | 0b9aa32c53586867cabc1d7b02456ca0dfc44f9c (patch) | |
tree | 371c3121a4481115a3da5fbafb8f2deea13fecd7 /usr.sbin/bluetooth/bthidcontrol | |
parent | 9c662a12a06f8853b62ee957d7255f8cd9a849f5 (diff) | |
download | FreeBSD-src-0b9aa32c53586867cabc1d7b02456ca0dfc44f9c.zip FreeBSD-src-0b9aa32c53586867cabc1d7b02456ca0dfc44f9c.tar.gz |
- Fix attribute id of HIDBatteryPower
- Fix two typos in comments
Approved by: emax
Diffstat (limited to 'usr.sbin/bluetooth/bthidcontrol')
-rw-r--r-- | usr.sbin/bluetooth/bthidcontrol/sdp.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.sbin/bluetooth/bthidcontrol/sdp.c b/usr.sbin/bluetooth/bthidcontrol/sdp.c index e39c8ca..032863e 100644 --- a/usr.sbin/bluetooth/bthidcontrol/sdp.c +++ b/usr.sbin/bluetooth/bthidcontrol/sdp.c @@ -54,9 +54,9 @@ SDP_ATTR_RANGE( SDP_ATTR_PROTOCOL_DESCRIPTOR_LIST, SDP_ATTR_RANGE (SDP_ATTR_ADDITIONAL_PROTOCOL_DESCRIPTOR_LISTS, SDP_ATTR_ADDITIONAL_PROTOCOL_DESCRIPTOR_LISTS), SDP_ATTR_RANGE( 0x0205, /* HIDReconnectInitiate */ - 0x0206), /* HIDDesctiptorList */ -SDP_ATTR_RANGE( 0x020a, /* HIDBatteryPower */ - 0x020a), + 0x0206), /* HIDDescriptorList */ +SDP_ATTR_RANGE( 0x0209, /* HIDBatteryPower */ + 0x0209), SDP_ATTR_RANGE( 0x020d, /* HIDNormallyConnectable */ 0x020d) }; @@ -131,14 +131,14 @@ hid_sdp_query(bdaddr_t const *local, struct hid_device *hd, int32_t *error) reconnect_initiate = hid_sdp_parse_boolean(&values[i]); break; - case 0x0206: /* HIDDesctiptorList */ + case 0x0206: /* HIDDescriptorList */ if (hid_sdp_parse_hid_descriptor(&values[i]) == 0) { hid_descriptor = values[i].value; hid_descriptor_length = values[i].vlen; } break; - case 0x020a: /* HIDBatteryPower */ + case 0x0209: /* HIDBatteryPower */ battery_power = hid_sdp_parse_boolean(&values[i]); break; |