Commit 2377b1c4 authored by Bhaskar Chowdhury's avatar Bhaskar Chowdhury Committed by Kalle Valo

rtlwifi: Few mundane typo fixes

s/resovle/resolve/
s/broadcase/broadcast/
s/sytem/system/
Signed-off-by: default avatarBhaskar Chowdhury <unixbhaskar@gmail.com>
Acked-by: default avatarRandy Dunlap <rdunlap@infradead.org>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20210320194426.21621-1-unixbhaskar@gmail.com
parent a221d0af
...@@ -564,7 +564,7 @@ static int rtl_op_resume(struct ieee80211_hw *hw) ...@@ -564,7 +564,7 @@ static int rtl_op_resume(struct ieee80211_hw *hw)
rtlhal->enter_pnp_sleep = false; rtlhal->enter_pnp_sleep = false;
rtlhal->wake_from_pnp_sleep = true; 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(); now = ktime_get_real_seconds();
if (now - rtlhal->last_suspend_sec < 5) if (now - rtlhal->last_suspend_sec < 5)
return -1; return -1;
...@@ -806,7 +806,7 @@ static void rtl_op_configure_filter(struct ieee80211_hw *hw, ...@@ -806,7 +806,7 @@ static void rtl_op_configure_filter(struct ieee80211_hw *hw,
if (0 == changed_flags) if (0 == changed_flags)
return; return;
/*TODO: we disable broadcase now, so enable here */ /*TODO: we disable broadcast now, so enable here */
if (changed_flags & FIF_ALLMULTI) { if (changed_flags & FIF_ALLMULTI) {
if (*new_flags & FIF_ALLMULTI) { if (*new_flags & FIF_ALLMULTI) {
mac->rx_conf |= rtlpriv->cfg->maps[MAC_RCR_AM] | mac->rx_conf |= rtlpriv->cfg->maps[MAC_RCR_AM] |
...@@ -1796,7 +1796,7 @@ bool rtl_hal_pwrseqcmdparsing(struct rtl_priv *rtlpriv, u8 cut_version, ...@@ -1796,7 +1796,7 @@ bool rtl_hal_pwrseqcmdparsing(struct rtl_priv *rtlpriv, u8 cut_version,
value |= (GET_PWR_CFG_VALUE(cfg_cmd) & value |= (GET_PWR_CFG_VALUE(cfg_cmd) &
GET_PWR_CFG_MASK(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); rtl_write_byte(rtlpriv, offset, value);
break; break;
case PWR_CMD_POLLING: case PWR_CMD_POLLING:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment