2019-07-14 17:30:28

by Hariprasad Kelam

[permalink] [raw]
Subject: [PATCH] staging: rtl8723bs: core: Remove code valid only for 5GHz

As per TODO ,remove code valid only for 5 GHz(channel > 14).

Signed-off-by: Hariprasad Kelam <[email protected]>
---
drivers/staging/rtl8723bs/core/rtw_mlme_ext.c | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/drivers/staging/rtl8723bs/core/rtw_mlme_ext.c b/drivers/staging/rtl8723bs/core/rtw_mlme_ext.c
index 4285844..967da71 100644
--- a/drivers/staging/rtl8723bs/core/rtw_mlme_ext.c
+++ b/drivers/staging/rtl8723bs/core/rtw_mlme_ext.c
@@ -295,11 +295,7 @@ static void init_mlme_ext_priv_value(struct adapter *padapter)

init_mlme_default_rate_set(padapter);

- if (pmlmeext->cur_channel > 14)
- pmlmeext->tx_rate = IEEE80211_OFDM_RATE_6MB;
- else
- pmlmeext->tx_rate = IEEE80211_CCK_RATE_1MB;
-
+ pmlmeext->tx_rate = IEEE80211_CCK_RATE_1MB;
pmlmeext->sitesurvey_res.state = SCAN_DISABLE;
pmlmeext->sitesurvey_res.channel_idx = 0;
pmlmeext->sitesurvey_res.bss_cnt = 0;
--
2.7.4


2019-07-15 19:55:17

by Greg Kroah-Hartman

[permalink] [raw]
Subject: Re: [PATCH] staging: rtl8723bs: core: Remove code valid only for 5GHz

On Mon, Jul 15, 2019 at 08:51:30AM +0200, Emanuel Bennici wrote:
> As per TODO ,remove code valid only for 5 GHz(channel > 14).
>
> Signed-off-by: Hariprasad Kelam <[email protected]>
> Reviewed-by: Emanuel Bennici <[email protected]>
> ---
> drivers/staging/rtl8723bs/core/rtw_mlme_ext.c | 6 +-----
> 1 file changed, 1 insertion(+), 5 deletions(-)

Please do not send html email to a kernel mailing list :(

Also, what did you do here? Why resend the whole thing?

confused,

greg k-h