mirror of
https://github.com/espressif/esp-nimble.git
synced 2026-09-15 21:50:03 +00:00
nimble/ll: Minor comment fix
This commit is contained in:
@@ -2988,7 +2988,6 @@ ble_ll_scan_rx_pkt_in(uint8_t ptype, struct os_mbuf *om, struct ble_mbuf_hdr *hd
|
|||||||
/* Set scan response check flag */
|
/* Set scan response check flag */
|
||||||
scan_rsp_chk = BLE_MBUF_HDR_SCAN_RSP_RCV(hdr);
|
scan_rsp_chk = BLE_MBUF_HDR_SCAN_RSP_RCV(hdr);
|
||||||
|
|
||||||
/* We dont care about scan requests or connect requests */
|
|
||||||
if (!BLE_MBUF_HDR_CRC_OK(hdr)) {
|
if (!BLE_MBUF_HDR_CRC_OK(hdr)) {
|
||||||
goto scan_continue;
|
goto scan_continue;
|
||||||
}
|
}
|
||||||
@@ -3010,6 +3009,7 @@ ble_ll_scan_rx_pkt_in(uint8_t ptype, struct os_mbuf *om, struct ble_mbuf_hdr *hd
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* We dont care about scan requests or connect requests */
|
||||||
if ((ptype == BLE_ADV_PDU_TYPE_SCAN_REQ) || (ptype == BLE_ADV_PDU_TYPE_CONNECT_IND)) {
|
if ((ptype == BLE_ADV_PDU_TYPE_SCAN_REQ) || (ptype == BLE_ADV_PDU_TYPE_CONNECT_IND)) {
|
||||||
goto scan_continue;
|
goto scan_continue;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user