Loading
wifi: ath11k: fix error path leaks in some WMI WOW calls
Fix two instances where we used to directly return the result of ath11k_wmi_cmd_send(...). Because we did not check the return value, we also did not free the skb in the error path. Fixes: 79802b13 ("ath11k: implement WoW enable and wakeup commands") Signed-off-by:Nicolas Escande <nico.escande@gmail.com> Reviewed-by:
Baochen Qiang <baochen.qiang@oss.qualcomm.com> Reviewed-by:
Rameshkumar Sundaram <rameshkumar.sundaram@oss.qualcomm.com> Link: https://patch.msgid.link/20260506134240.2284016-2-nico.escande@gmail.com Signed-off-by:
Jeff Johnson <jeff.johnson@oss.qualcomm.com>