mirror of
https://github.com/espressif/esp-nimble.git
synced 2026-08-31 06:10: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 */
|
||||
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)) {
|
||||
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
|
||||
|
||||
/* We dont care about scan requests or connect requests */
|
||||
if ((ptype == BLE_ADV_PDU_TYPE_SCAN_REQ) || (ptype == BLE_ADV_PDU_TYPE_CONNECT_IND)) {
|
||||
goto scan_continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user