apps/blestress: Fix tx_stress_13

We should not free mbuf in BLE_GAP_EVENT_NOTIFY_RX since it's freed by
host after returning from event callback.
This commit is contained in:
Andrzej Kaczmarek
2021-11-08 16:32:42 +01:00
parent 47cabcd893
commit 5e6bb6f878
-1
View File
@@ -1271,7 +1271,6 @@ tx_stress_13_gap_event(struct ble_gap_event *event, void *arg)
case BLE_GAP_EVENT_NOTIFY_RX:
MODLOG_DFLT(INFO, "Notify RX event\n");
console_printf("\033[0;32m>\033[0m");
os_mbuf_free_chain(event->notify_rx.om);
++tx_stress_ctx->rcv_num;
return 0;