mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-12 13:55:32 +00:00
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 <hariprasad.kelam@gmail.com> Link: https://lore.kernel.org/r/20190714172826.GA6950@hari-Inspiron-1545 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
2e7a3f1158
commit
2615f966f9
1 changed files with 1 additions and 5 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue