Bluetooth: controller: Minor readability different variable use

Use an explicitly named variable to convey auxiliary pointer
present in the PDU chain.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
This commit is contained in:
Vinayak Kariappa Chettimada 2020-11-21 12:07:11 +05:30 committed by Carles Cufí
commit ab82d8e158

View file

@ -4243,7 +4243,9 @@ no_ext_hdr:
}
if (!node_rx_next) {
if (sec_phy_curr) {
bool has_aux_ptr = !!sec_phy_curr;
if (has_aux_ptr) {
data_status =
BT_HCI_LE_ADV_EVT_TYPE_DATA_STATUS_INCOMPLETE;
}
@ -4580,7 +4582,9 @@ no_ext_hdr:
}
if (!node_rx_next) {
if (sec_phy_curr) {
bool has_aux_ptr = !!sec_phy_curr;
if (has_aux_ptr) {
data_status =
BT_HCI_LE_ADV_EVT_TYPE_DATA_STATUS_INCOMPLETE;
}