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:
parent
283a30875b
commit
ab82d8e158
1 changed files with 6 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue