mirror of
https://github.com/espressif/esp-nimble.git
synced 2026-08-22 09:49:57 +00:00
fixed issue of incorrect IRK being set
This commit is contained in:
committed by
Abhinav Kudnar
parent
12df982603
commit
2227941edb
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user