2015-06-30 00:25:57

by Nikolas Nyby

[permalink] [raw]
Subject: [PATCH] rtlwifi: Trivial: fix typo in comments

This fixes a typo in two comments: "paht" -> "path".

Signed-off-by: Nik Nyby <[email protected]>
---
drivers/net/wireless/rtlwifi/rtl8192de/phy.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/net/wireless/rtlwifi/rtl8192de/phy.c b/drivers/net/wireless/rtlwifi/rtl8192de/phy.c
index 1961b8e..bb06fe8 100644
--- a/drivers/net/wireless/rtlwifi/rtl8192de/phy.c
+++ b/drivers/net/wireless/rtlwifi/rtl8192de/phy.c
@@ -3515,14 +3515,14 @@ void rtl92d_update_bbrf_configuration(struct ieee80211_hw *hw)
for (rfpath = RF90_PATH_A; rfpath < rtlphy->num_total_rfpath;
rfpath++) {
if (rtlhal->current_bandtype == BAND_ON_2_4G) {
- /* MOD_AG for RF paht_A 0x18 BIT8,BIT16 */
+ /* MOD_AG for RF path_A 0x18 BIT8,BIT16 */
rtl_set_rfreg(hw, rfpath, RF_CHNLBW, BIT(8) | BIT(16) |
BIT(18), 0);
/* RF0x0b[16:14] =3b'111 */
rtl_set_rfreg(hw, (enum radio_path)rfpath, 0x0B,
0x1c000, 0x07);
} else {
- /* MOD_AG for RF paht_A 0x18 BIT8,BIT16 */
+ /* MOD_AG for RF path_A 0x18 BIT8,BIT16 */
rtl_set_rfreg(hw, rfpath, RF_CHNLBW, BIT(8) |
BIT(16) | BIT(18),
(BIT(16) | BIT(8)) >> 8);
--
2.1.4



2015-06-30 01:30:44

by Larry Finger

[permalink] [raw]
Subject: Re: [PATCH] rtlwifi: Trivial: fix typo in comments

On 06/29/2015 07:17 PM, Nik Nyby wrote:
> This fixes a typo in two comments: "paht" -> "path".
>
> Signed-off-by: Nik Nyby <[email protected]>
> ---
> drivers/net/wireless/rtlwifi/rtl8192de/phy.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>

Acked-by: Larry Finger <[email protected]>

Larry

> diff --git a/drivers/net/wireless/rtlwifi/rtl8192de/phy.c b/drivers/net/wireless/rtlwifi/rtl8192de/phy.c
> index 1961b8e..bb06fe8 100644
> --- a/drivers/net/wireless/rtlwifi/rtl8192de/phy.c
> +++ b/drivers/net/wireless/rtlwifi/rtl8192de/phy.c
> @@ -3515,14 +3515,14 @@ void rtl92d_update_bbrf_configuration(struct ieee80211_hw *hw)
> for (rfpath = RF90_PATH_A; rfpath < rtlphy->num_total_rfpath;
> rfpath++) {
> if (rtlhal->current_bandtype == BAND_ON_2_4G) {
> - /* MOD_AG for RF paht_A 0x18 BIT8,BIT16 */
> + /* MOD_AG for RF path_A 0x18 BIT8,BIT16 */
> rtl_set_rfreg(hw, rfpath, RF_CHNLBW, BIT(8) | BIT(16) |
> BIT(18), 0);
> /* RF0x0b[16:14] =3b'111 */
> rtl_set_rfreg(hw, (enum radio_path)rfpath, 0x0B,
> 0x1c000, 0x07);
> } else {
> - /* MOD_AG for RF paht_A 0x18 BIT8,BIT16 */
> + /* MOD_AG for RF path_A 0x18 BIT8,BIT16 */
> rtl_set_rfreg(hw, rfpath, RF_CHNLBW, BIT(8) |
> BIT(16) | BIT(18),
> (BIT(16) | BIT(8)) >> 8);
>


2015-07-21 13:51:59

by Kalle Valo

[permalink] [raw]
Subject: Re: rtlwifi: fix typo in comments


> This fixes a typo in two comments: "paht" -> "path".
>
> Signed-off-by: Nik Nyby <[email protected]>
> Acked-by: Larry Finger <[email protected]>

Thanks, applied to wireless-drivers-next.git.

Kalle Valo