File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
subsys/bluetooth/controller/ll_sw Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -3064,24 +3064,22 @@ isr_rx_conn_pkt(struct radio_pdu_node_rx *radio_pdu_node_rx,
3064
3064
3065
3065
if (_radio .conn_curr -> empty == 0 ) {
3066
3066
struct radio_pdu_node_tx * node_tx ;
3067
- u8_t pdu_data_tx_len , pdu_data_tx_ll_id ;
3067
+ u8_t pdu_data_tx_len ;
3068
3068
3069
3069
node_tx = _radio .conn_curr -> pkt_tx_head ;
3070
3070
pdu_data_tx = (struct pdu_data * )
3071
3071
(node_tx -> pdu_data +
3072
3072
_radio .conn_curr -> packet_tx_head_offset );
3073
3073
3074
3074
pdu_data_tx_len = pdu_data_tx -> len ;
3075
- pdu_data_tx_ll_id = pdu_data_tx -> ll_id ;
3076
-
3077
3075
if (pdu_data_tx_len != 0 ) {
3078
3076
/* if encrypted increment tx counter */
3079
3077
if (_radio .conn_curr -> enc_tx ) {
3080
3078
_radio .conn_curr -> ccm_tx .counter ++ ;
3081
3079
}
3082
3080
3083
3081
/* process ctrl packet on tx cmplt */
3084
- if (pdu_data_tx_ll_id == PDU_DATA_LLID_CTRL ) {
3082
+ if (pdu_data_tx -> ll_id == PDU_DATA_LLID_CTRL ) {
3085
3083
terminate =
3086
3084
isr_rx_conn_pkt_ack (pdu_data_tx ,
3087
3085
& node_tx );
You can’t perform that action at this time.
0 commit comments