From 907cf3a0f9dad9d43e5c07b4945b5e163b8dfc01 Mon Sep 17 00:00:00 2001 From: Andrzej Kaczmarek Date: Wed, 1 Aug 2018 15:24:36 +0200 Subject: [PATCH] nimble/ll: Fix build error with privacy disabled DLE command handler was not used in such case. --- nimble/controller/src/ble_ll_hci.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nimble/controller/src/ble_ll_hci.c b/nimble/controller/src/ble_ll_hci.c index cce4234af..517381cab 100644 --- a/nimble/controller/src/ble_ll_hci.c +++ b/nimble/controller/src/ble_ll_hci.c @@ -961,6 +961,8 @@ ble_ll_hci_le_cmd_proc(uint8_t *cmdbuf, uint16_t ocf, uint8_t *rsplen, rc = ble_ll_resolv_set_rpa_tmo(cmdbuf); } break; +#endif +#if (MYNEWT_VAL(BLE_LL_CFG_FEAT_DATA_LEN_EXT) == 1) case BLE_HCI_OCF_LE_RD_MAX_DATA_LEN: if (len == 0) { rc = ble_ll_hci_le_rd_max_data_len(rspbuf, rsplen);