mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-03 03:31:41 +03:00
fix(iso): correct ISO data length mask from 0x7fff to 0x3fff
(cherry picked from commit b0f2f482d64e1d0c5f1ba2817f54d12fcb870e75) Co-authored-by: wangjialiang <wangjialiang@espressif.com>
This commit is contained in:
@@ -178,7 +178,7 @@ hci_h4_sm_w4_header(struct hci_h4_sm *h4sm, struct hci_h4_input_buffer *ib)
|
||||
}
|
||||
|
||||
os_mbuf_append(h4sm->om, h4sm->hdr, h4sm->len);
|
||||
h4sm->exp_len = (get_le16(&h4sm->hdr[2]) & 0x7fff) + 4;
|
||||
h4sm->exp_len = (get_le16(&h4sm->hdr[2]) & 0x3fff) + 4;
|
||||
break;
|
||||
default:
|
||||
return -2;
|
||||
|
||||
Reference in New Issue
Block a user