Skip to content
Commit 058724f3 authored by Carles Cufi's avatar Carles Cufi
Browse files

Bluetooth: controller: Optimize calls to hci_get_class()



Cache the result of calling hci_get_class() to avoid repeatedly invoking
it on the same data. In order to cache it we take advantage of the fact
that both radio_pdu_node_rx_hdr and node_rx_hdr are not packed
structures and they currently have a spare padding byte (between type
and handle).

Signed-off-by: default avatarCarles Cufi <carles.cufi@nordicsemi.no>
parent 9c32a6d2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment