rtlwifi: Few mundane typo fixes
authorBhaskar Chowdhury <unixbhaskar@gmail.com>
Sat, 20 Mar 2021 19:44:26 +0000 (01:14 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Sat, 17 Apr 2021 17:28:26 +0000 (20:28 +0300)
s/resovle/resolve/
s/broadcase/broadcast/
s/sytem/system/

Signed-off-by: Bhaskar Chowdhury <unixbhaskar@gmail.com>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20210320194426.21621-1-unixbhaskar@gmail.com
drivers/net/wireless/realtek/rtlwifi/core.c

index 965bd95..c9b6ee8 100644 (file)
@@ -564,7 +564,7 @@ static int rtl_op_resume(struct ieee80211_hw *hw)
        rtlhal->enter_pnp_sleep = false;
        rtlhal->wake_from_pnp_sleep = true;
 
-       /* to resovle s4 can not wake up*/
+       /* to resolve s4 can not wake up*/
        now = ktime_get_real_seconds();
        if (now - rtlhal->last_suspend_sec < 5)
                return -1;
@@ -806,7 +806,7 @@ static void rtl_op_configure_filter(struct ieee80211_hw *hw,
        if (0 == changed_flags)
                return;
 
-       /*TODO: we disable broadcase now, so enable here */
+       /*TODO: we disable broadcast now, so enable here */
        if (changed_flags & FIF_ALLMULTI) {
                if (*new_flags & FIF_ALLMULTI) {
                        mac->rx_conf |= rtlpriv->cfg->maps[MAC_RCR_AM] |
@@ -1796,7 +1796,7 @@ bool rtl_hal_pwrseqcmdparsing(struct rtl_priv *rtlpriv, u8 cut_version,
                                value |= (GET_PWR_CFG_VALUE(cfg_cmd) &
                                          GET_PWR_CFG_MASK(cfg_cmd));
 
-                               /*Write the value back to sytem register*/
+                               /*Write the value back to system register*/
                                rtl_write_byte(rtlpriv, offset, value);
                                break;
                        case PWR_CMD_POLLING: