mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 11:10:54 +03:00
fix(blufi): Fix BLUFI NimBLE deinit race due to disconnect callbacks
This commit is contained in:
@@ -502,6 +502,10 @@ esp_blufi_gap_event(struct ble_gap_event *event, void *arg)
|
||||
blufi_env.aggr_buf = NULL;
|
||||
}
|
||||
|
||||
if (!blufi_env.enabled) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
btc_msg_t msg;
|
||||
esp_blufi_cb_param_t param;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user