kopia lustrzana https://github.com/espressif/esp-idf
fix(nimble): Fix for memory leak/optimization
rodzic
e9d442d2b7
commit
bf78b03cdc
|
@ -424,7 +424,7 @@ config BT_NIMBLE_HS_STOP_TIMEOUT_MS
|
|||
config BT_NIMBLE_HOST_BASED_PRIVACY
|
||||
bool "Enable host based privacy for random address."
|
||||
default n
|
||||
depends on BT_NIMBLE_ENABLED && !IDF_TARGET_ESP32
|
||||
depends on BT_NIMBLE_ENABLED && IDF_TARGET_ESP32
|
||||
help
|
||||
Use this option to do host based Random Private Address resolution.
|
||||
If this option is disabled then controller based privacy is used.
|
||||
|
|
|
@ -378,6 +378,7 @@ static int host_rcv_pkt(uint8_t *data, uint16_t len)
|
|||
assert(evbuf != NULL);
|
||||
}
|
||||
|
||||
memset(evbuf, 0, sizeof *evbuf);
|
||||
memcpy(evbuf, &data[1], totlen);
|
||||
|
||||
rc = ble_hci_trans_ll_evt_tx(evbuf);
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit e2d7a766fb3927d008902611b3985e8595864c55
|
||||
Subproject commit d396a29ee5146a4a9b7581c2b7a3f6fedb44c63c
|
Ładowanie…
Reference in New Issue