diff mbox series

rtlwifi: Few mundane typo fixes

Message ID 20210320194426.21621-1-unixbhaskar@gmail.com
State Accepted
Commit 2377b1c49d4831c09af269cdbe21791e8945cf97
Delegated to: Kalle Valo
Headers show
Series rtlwifi: Few mundane typo fixes | expand

Commit Message

Bhaskar Chowdhury March 20, 2021, 7:44 p.m. UTC
s/resovle/resolve/
s/broadcase/broadcast/
s/sytem/system/

Signed-off-by: Bhaskar Chowdhury <unixbhaskar@gmail.com>
---
 drivers/net/wireless/realtek/rtlwifi/core.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

--
2.26.2

Comments

Randy Dunlap March 20, 2021, 7:56 p.m. UTC | #1
On Sun, 21 Mar 2021, Bhaskar Chowdhury wrote:

>
> s/resovle/resolve/
> s/broadcase/broadcast/
> s/sytem/system/
>
> Signed-off-by: Bhaskar Chowdhury <unixbhaskar@gmail.com>

Acked-by: Randy Dunlap <rdunlap@infradead.org>


> ---
> drivers/net/wireless/realtek/rtlwifi/core.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/net/wireless/realtek/rtlwifi/core.c b/drivers/net/wireless/realtek/rtlwifi/core.c
> index 965bd9589045..c9b6ee81dcb9 100644
> --- a/drivers/net/wireless/realtek/rtlwifi/core.c
> +++ b/drivers/net/wireless/realtek/rtlwifi/core.c
> @@ -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:
> --
> 2.26.2
>
>
Kalle Valo April 17, 2021, 5:28 p.m. UTC | #2
Bhaskar Chowdhury <unixbhaskar@gmail.com> wrote:

> s/resovle/resolve/
> s/broadcase/broadcast/
> s/sytem/system/
> 
> Signed-off-by: Bhaskar Chowdhury <unixbhaskar@gmail.com>
> Acked-by: Randy Dunlap <rdunlap@infradead.org>

Patch applied to wireless-drivers-next.git, thanks.

2377b1c49d48 rtlwifi: Few mundane typo fixes
diff mbox series

Patch

diff --git a/drivers/net/wireless/realtek/rtlwifi/core.c b/drivers/net/wireless/realtek/rtlwifi/core.c
index 965bd9589045..c9b6ee81dcb9 100644
--- a/drivers/net/wireless/realtek/rtlwifi/core.c
+++ b/drivers/net/wireless/realtek/rtlwifi/core.c
@@ -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: