Bluetooth: SDP: Update 'no records found' code comment
Adds more descriptive comment to the code responsible for handling no resolved UUID case. Jira: ZEP-1112 Change-Id: I1af07949e19246d51bab9df05504a90f5fb22bb2 Signed-off-by: Arkadiusz Lichwa <arkadiusz.lichwa@tieto.com>
This commit is contained in:
parent
7ec0c37ec3
commit
b11f30a246
1 changed files with 5 additions and 1 deletions
|
@ -647,7 +647,11 @@ static void sdp_client_receive(struct bt_l2cap_chan *chan, struct net_buf *buf)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* No record found for given UUID */
|
/*
|
||||||
|
* No record found for given UUID. The check catches case when
|
||||||
|
* current response frame has Continuation State shortest and
|
||||||
|
* valid and this is the first response frame as well.
|
||||||
|
*/
|
||||||
if (frame_len == 2 && cstate->length == 0 &&
|
if (frame_len == 2 && cstate->length == 0 &&
|
||||||
session->cstate.length == 0) {
|
session->cstate.length == 0) {
|
||||||
BT_DBG("record for UUID 0x%s not found",
|
BT_DBG("record for UUID 0x%s not found",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue