diff options
-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; |