lkml.org 
[lkml]   [2021]   [Jul]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 06/16] staging: rtl8723bs: remove commented out condition
    Date
    remove commented out condition checking channel > 14.

    Signed-off-by: Fabio Aiuto <fabioaiuto83@gmail.com>
    ---
    drivers/staging/rtl8723bs/os_dep/ioctl_linux.c | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    diff --git a/drivers/staging/rtl8723bs/os_dep/ioctl_linux.c b/drivers/staging/rtl8723bs/os_dep/ioctl_linux.c
    index 8af81c4ff8db..060cdd7b2925 100644
    --- a/drivers/staging/rtl8723bs/os_dep/ioctl_linux.c
    +++ b/drivers/staging/rtl8723bs/os_dep/ioctl_linux.c
    @@ -159,7 +159,7 @@ static char *translate_scan(struct adapter *padapter,
    start = iwe_stream_add_event(info, start, stop, &iwe, IW_EV_UINT_LEN);
    }

    - if (pnetwork->network.Configuration.DSConfig < 1 /*|| pnetwork->network.Configuration.DSConfig > 14*/)
    + if (pnetwork->network.Configuration.DSConfig < 1)
    pnetwork->network.Configuration.DSConfig = 1;

    /* Add frequency/channel */
    --
    2.20.1
    \
     
     \ /
      Last update: 2021-07-21 15:41    [W:4.079 / U:0.176 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site