wifi: ath5k: fix repeated words in comments
authorJilin Yuan <yuanjilin@cdjrlc.com>
Fri, 15 Jul 2022 10:35:18 +0000 (13:35 +0300)
committerKalle Valo <quic_kvalo@quicinc.com>
Mon, 18 Jul 2022 10:03:43 +0000 (13:03 +0300)
Delete the redundant word 'don't' and 'but'.

Signed-off-by: Jilin Yuan <yuanjilin@cdjrlc.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20220708154929.19199-1-yuanjilin@cdjrlc.com
drivers/net/wireless/ath/ath5k/base.c
drivers/net/wireless/ath/ath5k/mac80211-ops.c

index 85c982e..c59c144 100644 (file)
@@ -1982,7 +1982,7 @@ ath5k_beacon_send(struct ath5k_hw *ah)
 
        /*
         * Check if the previous beacon has gone out.  If
-        * not, don't don't try to post another: skip this
+        * not, don't try to post another: skip this
         * period and wait for the next.  Missed beacons
         * indicate a problem and should not occur.  If we
         * miss too many consecutive beacons reset the device.
index acd0e1d..ed5d216 100644 (file)
@@ -410,7 +410,7 @@ ath5k_configure_filter(struct ieee80211_hw *hw, unsigned int changed_flags,
        /* FIF_CONTROL doc says we should only pass on control frames for this
         * station. This needs testing. I believe right now this
         * enables *all* control frames, which is OK.. but
-        * but we should see if we can improve on granularity */
+        * we should see if we can improve on granularity */
        if (*new_flags & FIF_CONTROL)
                rfilt |= AR5K_RX_FILTER_CONTROL;