Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp3282550ybi; Sun, 14 Jul 2019 10:30:28 -0700 (PDT) X-Google-Smtp-Source: APXvYqxcoUy6NW5H6oMNEKgZ18Dyqje8gfB6m5R+mDlO3rQjXWAItK7Uax/QZowK6MVy/kV193lU X-Received: by 2002:a17:90a:c391:: with SMTP id h17mr24769332pjt.131.1563125428161; Sun, 14 Jul 2019 10:30:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563125428; cv=none; d=google.com; s=arc-20160816; b=UisipyIT7oEBmQoe9mtN8EX4c381SM4Fp3xEjOqTmSxedJSQzKQPXP1I7D3MfcxwjK CoAkkcEfp0WznXsb22cf7BIC3QlhmIEQLxgqtNYGxAkWAwWXDnnhbpq693UsrqT3X5AI wRfUWacIzFcPtACxiqgox2jR/6ROQMJFEjQyJeEK2o1krlIhUHoiSbweq6c/cnsoDm3R T6k4WhoJdHKqNiz6m8O9qi5SXl/u8rE0h6LD5kTyDlfGiEYPe1+1ybH9+AKFCAOtfAt3 jGA1qnrwsIA69W0sdCJ/IUXnuJ43i0QTD17oynQnxsvzcLQE9kKLiP19wGMBq5OZi+MQ 4b2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:content-disposition :mime-version:message-id:subject:to:from:date:dkim-signature; bh=Eg/DP7K1WzO3LKkPNWtjmpuyH7UktmZHkdh6/bI4Cu0=; b=J7rP9NkknmMS6SfYHPkg8UKVDD+oZkIwJ2AP1uGoxDGKjuL2tEfwq9SyLaRS4w8u3Q XzkAwxivaWt0ZgawYld4Ma+dxwiqr7iKiY7EUY2aVaB7zID/TKGLEGdm1fS7SdA1m4Jc BAeVus8/BNVa7EnZKpt46lakArq9X4No6cTEQdfkE4XlZ44u5MslrqCPBMZAUyAgECPP l0S2fJ1YFuVNqJBnDfHCPCnq+C4geOGTGHqOMHvMMICsJKLcSnwA+gZ1jeAwa45yk5aS dZUWX+89tsW8OB0SXGVC7TpisPWwIrbKlUl2B59QivFHsc/V0mnbNM06k6mSuFeebAE0 NATA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=JsyK6x4I; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w16si14331310pfi.31.2019.07.14.10.30.11; Sun, 14 Jul 2019 10:30:28 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=JsyK6x4I; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728694AbfGNR2d (ORCPT + 99 others); Sun, 14 Jul 2019 13:28:33 -0400 Received: from mail-pf1-f195.google.com ([209.85.210.195]:39850 "EHLO mail-pf1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728164AbfGNR2c (ORCPT ); Sun, 14 Jul 2019 13:28:32 -0400 Received: by mail-pf1-f195.google.com with SMTP id f17so2373211pfn.6 for ; Sun, 14 Jul 2019 10:28:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:mime-version:content-disposition :user-agent; bh=Eg/DP7K1WzO3LKkPNWtjmpuyH7UktmZHkdh6/bI4Cu0=; b=JsyK6x4IIiDh+I9mbXhj+rgYkW2WSYpo3quaqhQlZPNey6c5ioCyqypxTQuADUSkAC zVOaXrA6raVvlGhbcqSojvguzmYgV0ESFwq6QSaj7lAEiAKVrOmKPpuTGtBCtJ3Y5Zsg 4aeCK4XSqgqk98qNcA+w8b2jbg0XCyxbyn5dtpcG7alAkSMi9pVCR/hUtEuJx1FsIg4T spxPSj+fgkkZfbN9YaB4/eOhiGyelLe//Sb/328jP96r/gFDoE2Lh6P0KZEy9CayY4OP VFrKhgDFXijPWU+0n5psEwDq9UWuPkD1Mg44feFq0V2SkzyzVhFzBjtwEux5H2ghzqep S8GA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:mime-version :content-disposition:user-agent; bh=Eg/DP7K1WzO3LKkPNWtjmpuyH7UktmZHkdh6/bI4Cu0=; b=A2ut2dhg7qWHqEZYCayBYR/4ES6IEz/93qZ+nKPH0C7/wgdXm9o3KaHi1In3R89j+i 3BOZzu7G0goZ6CjMHgd9vfZGKJVIKmVZazQAzyQLzztyKbs/40rF+hdQK72ldrYvcn3H 3tdFZb3PWsqA9d4NHk1p6TuRjT7qelQhlJQA4/SYV1xqnoPcXYxdX1MwpM4U9+EzHL/+ EWn1V/OCf6Fmoi44ZimsusWdID8Qledvpm3nuamZc6vAyhjXjtGANx0/auc4zgCVMlcm GDbC2l9Oi8Z+G7bQptrKajZ9/hFNDguCGBBYqX7NODFkiFO7aOn0pC4e+I2fDEnLJovv RdNw== X-Gm-Message-State: APjAAAVEaItSe7d0Wi7000XoO4ZIlOy27mB+uLMn/C5IccoXuw/edKyv yfGcL8edas3wTfyoejt/UZE= X-Received: by 2002:a63:fb14:: with SMTP id o20mr11837553pgh.136.1563125312117; Sun, 14 Jul 2019 10:28:32 -0700 (PDT) Received: from hari-Inspiron-1545 ([183.83.86.126]) by smtp.gmail.com with ESMTPSA id u1sm12971306pgi.28.2019.07.14.10.28.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 14 Jul 2019 10:28:31 -0700 (PDT) Date: Sun, 14 Jul 2019 22:58:26 +0530 From: Hariprasad Kelam To: Greg Kroah-Hartman , Vatsala Narang , Nishka Dasgupta , Emanuel Bennici , Hardik Singh Rathore , Madhumitha Prabakaran , Michael Straube , devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, hdegoede@redhat.com, Larry.Finger@lwfinger.net Subject: [PATCH] staging: rtl8723bs: core: Remove code valid only for 5GHz Message-ID: <20190714172826.GA6950@hari-Inspiron-1545> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org As per TODO ,remove code valid only for 5 GHz(channel > 14). Signed-off-by: Hariprasad Kelam --- 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