summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Safonov <insafonov@gmail.com>2015-10-27 22:25:39 +0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-10-29 09:09:08 +0900
commit32b5844e1f57e5c0801d86a4a48d8f817f65d976 (patch)
tree2d1810500d91f87a981cac43ed892fd7faf41b80
parentb546c0f9c3fc8e5a20aff2ac984472a7f33ef9cc (diff)
downloadop-kernel-dev-32b5844e1f57e5c0801d86a4a48d8f817f65d976.zip
op-kernel-dev-32b5844e1f57e5c0801d86a4a48d8f817f65d976.tar.gz
staging: rtl8188eu: occurrence of the 5 GHz code marked
Channel numbers greater than 14 are used here, which are possible only for the 5 GHz frequency. Signed-off-by: Ivan Safonov <insafonov@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c b/drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c
index 29353bf..e3e5d6f 100644
--- a/drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c
+++ b/drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c
@@ -444,6 +444,9 @@ static u8 Hal_GetChnlGroup88E(u8 chnl, u8 *pGroup)
else if (chnl == 14) /* Channel 14 */
*pGroup = 5;
} else {
+
+ /* probably, this branch is suitable only for 5 GHz */
+
bIn24G = false;
if (chnl <= 40)
OpenPOWER on IntegriCloud