diff options
author | Jaikumar Ganesh <jaikumar@google.com> | 2010-09-21 17:05:32 -0700 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2010-09-22 10:21:48 +0300 |
commit | 9ee9e4352749f2659af71610bb698c21a76f64ad (patch) | |
tree | 5bd038c68f8dca904ef33c4aa432a158966421bb | |
parent | 797f8e149158d6a7e46b93e2531cd3bfb0db9495 (diff) | |
download | bluez-9ee9e4352749f2659af71610bb698c21a76f64ad.tar.gz |
Fix Headset Audio gateway SDP record.
Headset Audio Gateway does not have the Supported Features
in the SDP records according to the HSP specification.
-rw-r--r-- | tools/sdptool.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/tools/sdptool.c b/tools/sdptool.c index d06b15942..140a46a2d 100644 --- a/tools/sdptool.c +++ b/tools/sdptool.c @@ -1477,8 +1477,7 @@ static int add_headset_ag(sdp_session_t *session, svc_info_t *si) sdp_list_t *aproto, *proto[2]; sdp_record_t record; uint8_t u8 = si->channel ? si->channel : 7; - uint16_t u16 = 0x17; - sdp_data_t *channel, *features; + sdp_data_t *channel; uint8_t netid = si->network ? si->network : 0x01; // ???? profile document sdp_data_t *network = sdp_data_alloc(SDP_UINT8, &netid); int ret = 0; @@ -1511,9 +1510,6 @@ static int add_headset_ag(sdp_session_t *session, svc_info_t *si) proto[1] = sdp_list_append(proto[1], channel); apseq = sdp_list_append(apseq, proto[1]); - features = sdp_data_alloc(SDP_UINT16, &u16); - sdp_attr_add(&record, SDP_ATTR_SUPPORTED_FEATURES, features); - aproto = sdp_list_append(0, apseq); sdp_set_access_protos(&record, aproto); |