Bluetooth: L2CAP: Fix logs to account for BR/EDR signaling channel
The same l2cap_recv function is now used for BR/EDR as well so remove LE references from the logs. Change-Id: I841ceea2eee72ee099be922eb00c1f6a3a16a787 Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
This commit is contained in:
parent
52401300f3
commit
8a2c7915e3
1 changed files with 2 additions and 2 deletions
|
@ -797,14 +797,14 @@ static void l2cap_recv(struct bt_l2cap_chan *chan, struct net_buf *buf)
|
|||
uint16_t len;
|
||||
|
||||
if (buf->len < sizeof(*hdr)) {
|
||||
BT_ERR("Too small L2CAP LE signaling PDU");
|
||||
BT_ERR("Too small L2CAP signaling PDU");
|
||||
return;
|
||||
}
|
||||
|
||||
len = sys_le16_to_cpu(hdr->len);
|
||||
net_buf_pull(buf, sizeof(*hdr));
|
||||
|
||||
BT_DBG("LE signaling code 0x%02x ident %u len %u", hdr->code,
|
||||
BT_DBG("Signaling code 0x%02x ident %u len %u", hdr->code,
|
||||
hdr->ident, len);
|
||||
|
||||
if (buf->len != len) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue