wifi: wl1251: fix memory leak in wl1251_tx_work
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: c5483b71 ("wl12xx: check if elp wakeup failed") Signed-off-by:Abdun Nihaal <abdun.nihaal@gmail.com> Reviewed-by:
Michael Nemanov <michael.nemanov@ti.com> Link: https://patch.msgid.link/20250330104532.44935-1-abdun.nihaal@gmail.com Signed-off-by:
Johannes Berg <johannes.berg@intel.com>
Loading
Please sign in to comment