Re: [PATCH v2] wifi: wl1251: fix memory leak in wl1251_tx_work

From: Nemanov, Michael
Date: Mon Mar 31 2025 - 02:05:27 EST


On 3/30/2025 1:45 PM, Abdun Nihaal wrote:
The skb dequeued from tx_queue is lost when wl1251_ps_elp_wakeup fails
with a -ETIMEDOUT error. Fix that by queueing the skb back to tx_queue.

Fixes: c5483b719363 ("wl12xx: check if elp wakeup failed")
Signed-off-by: Abdun Nihaal <abdun.nihaal@xxxxxxxxx
Reviewed-by: Michael Nemanov <michael.nemanov@xxxxxx>