]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ath10k: Fix some typo in some warning messages
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Tue, 10 Dec 2019 10:08:00 +0000 (12:08 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 17 Dec 2019 14:24:17 +0000 (16:24 +0200)
Fix some typo:
  s/to to/to/
  s/even/event/

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath10k/mac.c
drivers/net/wireless/ath/ath10k/testmode.c

index 767c7bf169758fb7bba7a5c45682354b020435cf..0969e9bf5d5e5cfe8fab1857af5e116e45f4aa24 100644 (file)
@@ -1098,7 +1098,7 @@ static int ath10k_monitor_vdev_stop(struct ath10k *ar)
 
        ret = ath10k_wmi_vdev_stop(ar, ar->monitor_vdev_id);
        if (ret)
-               ath10k_warn(ar, "failed to to request monitor vdev %i stop: %d\n",
+               ath10k_warn(ar, "failed to request monitor vdev %i stop: %d\n",
                            ar->monitor_vdev_id, ret);
 
        ret = ath10k_vdev_setup_sync(ar);
index 1bffe3fbea3f3e2b805764852e028e540839b9ad..7a9b9bbcdbfc5a290128ec55d3d3ce158a7b58c7 100644 (file)
@@ -65,7 +65,7 @@ bool ath10k_tm_event_wmi(struct ath10k *ar, u32 cmd_id, struct sk_buff *skb)
        ret = nla_put_u32(nl_skb, ATH10K_TM_ATTR_CMD, ATH10K_TM_CMD_WMI);
        if (ret) {
                ath10k_warn(ar,
-                           "failed to to put testmode wmi event cmd attribute: %d\n",
+                           "failed to put testmode wmi event cmd attribute: %d\n",
                            ret);
                kfree_skb(nl_skb);
                goto out;
@@ -74,7 +74,7 @@ bool ath10k_tm_event_wmi(struct ath10k *ar, u32 cmd_id, struct sk_buff *skb)
        ret = nla_put_u32(nl_skb, ATH10K_TM_ATTR_WMI_CMDID, cmd_id);
        if (ret) {
                ath10k_warn(ar,
-                           "failed to to put testmode wmi even cmd_id: %d\n",
+                           "failed to put testmode wmi event cmd_id: %d\n",
                            ret);
                kfree_skb(nl_skb);
                goto out;