bluetooth: host: hci_core: Move event length check to bt_recv_unsafe
The event header is already accessed in `bt_recv_unsafe`. If length is
valid there, no point in checking it again in `hci_event` or
`hci_event_prio`.
Signed-off-by:
Pavel Vasilyev <pavel.vasilyev@nordicsemi.no>
Loading
Please sign in to comment