staging: rtl8723bs: remove commented out condition
authorFabio Aiuto <fabioaiuto83@gmail.com>
Wed, 21 Jul 2021 13:37:13 +0000 (15:37 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 Jul 2021 11:09:44 +0000 (13:09 +0200)
remove commented out condition checking channel > 14.

Signed-off-by: Fabio Aiuto <fabioaiuto83@gmail.com>
Link: https://lore.kernel.org/r/83762719c0c13ac8b78612a32db26e691eef17d1.1626874164.git.fabioaiuto83@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/os_dep/ioctl_linux.c

index 8af81c4..060cdd7 100644 (file)
@@ -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 */