wifi: ath11k: wmi: cleanup error handling in ath11k_wmi_send_init_country_cmd()
authorKalle Valo <quic_kvalo@quicinc.com>
Fri, 9 Jun 2023 14:24:31 +0000 (17:24 +0300)
committerKalle Valo <quic_kvalo@quicinc.com>
Tue, 13 Jun 2023 09:10:43 +0000 (12:10 +0300)
commit90a9fb5b6618ae070c94b2141ec5de6a2a207eae
treec84c3f2ab0a3ae5ba2b56faf77bd6582a57a9c14
parent8fbeaca7a001cf6e854fceade17865c7b23b3ce2
wifi: ath11k: wmi: cleanup error handling in ath11k_wmi_send_init_country_cmd()

The error handling doesn't follow the preferred style so fix that.

Tested-on: WCN6855 hw2.0 PCI WLAN.HSP.1.1-03125-QCAHSPSWPL_V1_V2_SILICONZ_LITE-3.6510.23

Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20230609142440.24643-7-kvalo@kernel.org
drivers/net/wireless/ath/ath11k/wmi.c