[PATCH 12/21] staging: rtl8188eu: occurrence of the 5 GHz code marked

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Channel numbers greater than 14 are used here,
which are possible only for the 5 GHz frequency.

Signed-off-by: Ivan Safonov <insafonov@xxxxxxxxx>
---
 drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c b/drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c
index a6295ca..821b8b5 100644
--- a/drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c
+++ b/drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c
@@ -446,6 +446,8 @@ static u8 Hal_GetChnlGroup88E(u8 chnl, u8 *pGroup)
 	} else {
 		bIn24G = false;
 
+		/* probably, this branch is suitable only for 5 GHz */
+
 		if (chnl <= 40)
 			*pGroup = 0;
 		else if (chnl <= 48)
-- 
2.4.10

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel



[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux