diff --git a/nimble/host/src/ble_hs_startup.c b/nimble/host/src/ble_hs_startup.c index 3b34e9ab8..a9c9fe79b 100644 --- a/nimble/host/src/ble_hs_startup.c +++ b/nimble/host/src/ble_hs_startup.c @@ -351,7 +351,6 @@ ble_hs_startup_go(void) { //struct ble_store_gen_key gen_key; int rc; - uint8_t irk[16]; rc = ble_hs_startup_reset_tx(); if (rc != 0) { @@ -422,7 +421,7 @@ ble_hs_startup_go(void) #endif ble_hs_pvcy_set_default_irk(); - ble_hs_pvcy_set_our_irk(irk); + ble_hs_pvcy_set_our_irk(NULL); /* If flow control is enabled, configure the controller to use it. */ ble_hs_flow_startup();