rtlwifi: rtl8192cu: Fix spelling mistake "writting" -> "writing"
authorLv Ruyi <lv.ruyi@zte.com.cn>
Mon, 11 Apr 2022 03:24:58 +0000 (03:24 +0000)
committerKalle Valo <kvalo@kernel.org>
Tue, 12 Apr 2022 13:56:12 +0000 (16:56 +0300)
There are some spelling mistakes in the comments. Fix it.

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Lv Ruyi <lv.ruyi@zte.com.cn>
Acked-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20220411032458.2517551-1-lv.ruyi@zte.com.cn
drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c

index 9bd02c3..a040c07 100644 (file)
@@ -520,7 +520,7 @@ static void _rtl92cu_init_queue_reserved_page(struct ieee80211_hw *hw,
                 * 2 out-ep. Remainder pages have assigned to High queue */
                if (outepnum > 1 && txqremaininpage)
                        numhq += txqremaininpage;
-               /* NOTE: This step done before writting REG_RQPN. */
+               /* NOTE: This step done before writing REG_RQPN. */
                if (ischipn) {
                        if (queue_sel & TX_SELE_NQ)
                                numnq = txqpageunit;
@@ -539,7 +539,7 @@ static void _rtl92cu_init_queue_reserved_page(struct ieee80211_hw *hw,
                        numlq = ischipn ? WMM_CHIP_B_PAGE_NUM_LPQ :
                                WMM_CHIP_A_PAGE_NUM_LPQ;
                }
-               /* NOTE: This step done before writting REG_RQPN. */
+               /* NOTE: This step done before writing REG_RQPN. */
                if (ischipn) {
                        if (queue_sel & TX_SELE_NQ)
                                numnq = WMM_CHIP_B_PAGE_NUM_NPQ;