wifi: ath12k: use kfree_skb() instead of kfree()
authorDan Carpenter <error27@gmail.com>
Thu, 16 Feb 2023 12:16:14 +0000 (15:16 +0300)
committerKalle Valo <quic_kvalo@quicinc.com>
Mon, 20 Feb 2023 08:35:51 +0000 (10:35 +0200)
commit8c464d16809fa02982f6341ea598ec5d07457f19
tree8af20e8a6c908a70c21da78f267ee9c1536e8a6d
parentbfcc8ba45eb87bfaaff900bbad2b87b204899d41
wifi: ath12k: use kfree_skb() instead of kfree()

Sk_buffs are supposed to be freed with kfree_skb().

Fixes: d889913205cf ("wifi: ath12k: driver for Qualcomm Wi-Fi 7 devices")
Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/Y+4ejiYakhEvEw7c@kili
drivers/net/wireless/ath/ath12k/dp_tx.c