Commit 1a0b06bf authored by Fabio Aiuto's avatar Fabio Aiuto Committed by Greg Kroah-Hartman

staging: rtl8723bs: fix camel case inside function

fix camel case inside function Hal_GetChnlGroup8723B()
Signed-off-by: default avatarFabio Aiuto <fabioaiuto83@gmail.com>
Link: https://lore.kernel.org/r/831b5f56cc6df8885ac61837fe53f63e021b289b.1626874164.git.fabioaiuto83@gmail.comSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 2d4c39b3
...@@ -2061,18 +2061,18 @@ s32 rtl8723b_InitLLTTable(struct adapter *padapter) ...@@ -2061,18 +2061,18 @@ s32 rtl8723b_InitLLTTable(struct adapter *padapter)
return ret; return ret;
} }
static void Hal_GetChnlGroup8723B(u8 Channel, u8 *pGroup) static void Hal_GetChnlGroup8723B(u8 channel, u8 *group)
{ {
if (1 <= Channel && Channel <= 2) if (1 <= channel && channel <= 2)
*pGroup = 0; *group = 0;
else if (3 <= Channel && Channel <= 5) else if (3 <= channel && channel <= 5)
*pGroup = 1; *group = 1;
else if (6 <= Channel && Channel <= 8) else if (6 <= channel && channel <= 8)
*pGroup = 2; *group = 2;
else if (9 <= Channel && Channel <= 11) else if (9 <= channel && channel <= 11)
*pGroup = 3; *group = 3;
else if (12 <= Channel && Channel <= 14) else if (12 <= channel && channel <= 14)
*pGroup = 4; *group = 4;
} }
void Hal_InitPGData(struct adapter *padapter, u8 *PROMContent) void Hal_InitPGData(struct adapter *padapter, u8 *PROMContent)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment