diff --git a/subsys/bluetooth/host/sdp.c b/subsys/bluetooth/host/sdp.c index 3619cf2f28f..657035dcdae 100644 --- a/subsys/bluetooth/host/sdp.c +++ b/subsys/bluetooth/host/sdp.c @@ -334,6 +334,11 @@ static void sdp_client_receive(struct bt_l2cap_chan *chan, struct net_buf *buf) return; } + if (hdr->op_code == BT_SDP_ERROR_RSP) { + BT_INFO("Error SDP PDU response"); + return; + } + len = sys_be16_to_cpu(hdr->param_len); tid = sys_be16_to_cpu(hdr->tid); net_buf_pull(buf, sizeof(*hdr));