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>
This commit is contained in:
parent
b546c0f9c3
commit
32b5844e1f
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue