ath11k: adding return variable in ath11k_qmi_firmware_stop
PATCH 1/1 ath11k: adding return variable in ath11k_qmi_firmware_stop
adding return variable in ath11k_qmi_firmware_stop to check the status of mode_off command.
Signed-off-by Govindaraj Saminathan <[email protected]>
--- drivers/net/wireless/ath/ath11k/qmi.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
drivers/net/wireless/ath/ath11k/qmi.c +4 -1
@@ -2110,7 +2110,10 @@ static int ath11k_qmi_wlanfw_wlan_cfg_send(struct ath11k_base *ab)void ath11k_qmi_firmware_stop (struct ath11k_base *ab) { -if (ath11k_qmi_wlanfw_mode_send (ab,ATH11K_FIRMWARE_MODE_OFF ) <0 ) { +int ret; + + ret =ath11k_qmi_wlanfw_mode_send (ab,ATH11K_FIRMWARE_MODE_OFF ); +if (ret <0 ) {ath11k_warn (ab,"qmi failed to send wlan mode off\n" );return ; }
Signature · 7 lines
1.9.1 _______________________________________________ ath11k mailing list [email protected] http://lists.infradead.org/mailman/listinfo/ath11k
Quoted 5 lines · Govindaraj Saminathan
adding return variable in
ath11k_qmi_firmware_stopto check the status ofmode_offcommand.Signed-off-by Govindaraj Saminathan <[email protected]>Signed-off-by Kalle Valo <[email protected]>
Patch applied to ath11k-bringup branch of ath.git, thanks.
7946054a1680 ath11k: adding return variable in ath11k_qmi_firmware_stop
Signature · 9 lines
https://patchwork.kernel.org/patch/11015401/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches _______________________________________________ ath11k mailing list [email protected] http://lists.infradead.org/mailman/listinfo/ath11k