Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drivers: wifi: esp: Fix bug with net_pkt_unref in tx path
The driver should only call net_pkt_unref on packets that get successfully handled, ie where send/sendto return 0. If the packet cannot be handled, net_context layer still owns the packet and should take care or the unref. Signed-off-by: Tobias Svehagen <[email protected]>
- Loading branch information