ath11k: Refactor the peer delete
authorKarthikeyan Periyasamy <quic_periyasa@quicinc.com>
Mon, 28 Feb 2022 04:54:39 +0000 (10:24 +0530)
committerKalle Valo <quic_kvalo@quicinc.com>
Mon, 21 Mar 2022 10:54:35 +0000 (12:54 +0200)
commit997dc60f0855b39aec0400511b37d65781da9255
tree25907c30660dca842695b9f8e565c4f9003621de
parentc4e9705c50121771e7582830359894431f24db73
ath11k: Refactor the peer delete

Introduce new helper function for peer delete to reuse this logic
in all peer cleanup procedures. Found this in code review.
Also this change is applicable for all the platform.

Tested-on: QCN9074 hw1.0 PCI WLAN.HK.2.5.0.1-01067-QCAHKSWPL_SILICONZ-1

Signed-off-by: Karthikeyan Periyasamy <quic_periyasa@quicinc.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/1646024079-26391-1-git-send-email-quic_periyasa@quicinc.com
drivers/net/wireless/ath/ath11k/mac.c
drivers/net/wireless/ath/ath11k/peer.c