kopia lustrzana https://github.com/espressif/esp-idf
Merge branch 'bugfix/memory_cleanup_optimization' into 'master'
Nimble: Fixes for memory leak / optimization See merge request espressif/esp-idf!23759pull/11524/head
commit
1937282e95
|
@ -479,7 +479,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.
|
||||
|
|
|
@ -216,6 +216,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 f710135ee1b9354e7b4c667cdfb4da531eb3642c
|
||||
Subproject commit d3d5c84b43fc8c790c7b389416fc391b8e9475a6
|
Ładowanie…
Reference in New Issue