Bluetooth: controller: remove duplicated code
A conditional block to save a directed advertising report flag was present three times. Remove two of the blocks. Signed-off-by: Peter A. Bigot <pab@pabigot.com>
This commit is contained in:
parent
c124cdbb37
commit
ea6cad9b89
1 changed files with 0 additions and 17 deletions
|
@ -1292,23 +1292,6 @@ static u32_t isr_rx_scan_report(u8_t rssi_ready, u8_t rl_idx, bool dir_report)
|
|||
*extra = dir_report ? 1 : 0;
|
||||
extra += PDU_AC_SIZE_SCFP;
|
||||
#endif /* CONFIG_BT_CTLR_EXT_SCAN_FP */
|
||||
#if defined(CONFIG_BT_HCI_MESH_EXT)
|
||||
if (node_rx->hdr.type == NODE_RX_TYPE_MESH_REPORT) {
|
||||
/* save the directed adv report flag */
|
||||
*extra = _radio.scanner.chan - 1;
|
||||
extra++;
|
||||
sys_put_le32(_radio.ticks_anchor, extra);
|
||||
}
|
||||
#endif /* CONFIG_BT_HCI_MESH_EXT */
|
||||
|
||||
#if defined(CONFIG_BT_HCI_MESH_EXT)
|
||||
if (node_rx->hdr.type == NODE_RX_TYPE_MESH_REPORT) {
|
||||
/* save the directed adv report flag */
|
||||
*extra = _radio.scanner.chan - 1;
|
||||
extra++;
|
||||
sys_put_le32(_radio.ticks_anchor, extra);
|
||||
}
|
||||
#endif /* CONFIG_BT_HCI_MESH_EXT */
|
||||
|
||||
#if defined(CONFIG_BT_HCI_MESH_EXT)
|
||||
if (node_rx->hdr.type == NODE_RX_TYPE_MESH_REPORT) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue