fixed issue of incorrect IRK being set

This commit is contained in:
Rahul Tank
2024-02-20 12:22:49 +05:30
committed by Abhinav Kudnar
parent 12df982603
commit 2227941edb
+1 -2
View File
@@ -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();