]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
ath11k: fix error message to correctly report the command that failed
authorColin Ian King <colin.king@canonical.com>
Fri, 27 Mar 2020 19:26:39 +0000 (19:26 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 22 Jun 2020 07:32:28 +0000 (09:32 +0200)
[ Upstream commit 9a8074e3bcd7956ec6b4f7c26360af1b0b0abe38 ]

Currently the error message refers to the command WMI_TWT_DIeABLE_CMDID
which looks like a cut-n-paste mangled typo. Fix the message to match
the command WMI_BSS_COLOR_CHANGE_ENABLE_CMDID that failed.

Fixes: 5a032c8d1953 ("ath11k: add WMI calls required for handling BSS color")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20200327192639.363354-1-colin.king@canonical.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/wireless/ath/ath11k/wmi.c

index e7ce36966d6a74ec0bd2646f84ea573344e5e4e0..6fec62846279a06e10a49684e38f589d16b44efa 100644 (file)
@@ -2779,7 +2779,7 @@ int ath11k_wmi_send_bss_color_change_enable_cmd(struct ath11k *ar, u32 vdev_id,
        ret = ath11k_wmi_cmd_send(wmi, skb,
                                  WMI_BSS_COLOR_CHANGE_ENABLE_CMDID);
        if (ret) {
-               ath11k_warn(ab, "Failed to send WMI_TWT_DIeABLE_CMDID");
+               ath11k_warn(ab, "Failed to send WMI_BSS_COLOR_CHANGE_ENABLE_CMDID");
                dev_kfree_skb(skb);
        }
        return ret;