mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
staging: r8188eu: rename parameter of Hal_GetChnlGroup88E()
Rename parameter of Hal_GetChnlGroup88E() to avoid camel case. pGroup -> group Acked-by: Phillip Potter <phil@philpotter.co.uk> Acked-by: Martin Kaiser <martin@kaiser.cx> Signed-off-by: Michael Straube <straube.linux@gmail.com> Link: https://lore.kernel.org/r/20210813073109.25609-4-straube.linux@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
1cb5715d27
commit
16fe4b303e
1 changed files with 7 additions and 7 deletions
|
@ -2060,20 +2060,20 @@ static void Hal_ReadPowerValueFromPROM_8188E(struct txpowerinfo24g *pwrInfo24G,
|
|||
}
|
||||
}
|
||||
|
||||
static void Hal_GetChnlGroup88E(u8 chnl, u8 *pGroup)
|
||||
static void Hal_GetChnlGroup88E(u8 chnl, u8 *group)
|
||||
{
|
||||
if (chnl < 3) /* Channel 1-2 */
|
||||
*pGroup = 0;
|
||||
*group = 0;
|
||||
else if (chnl < 6) /* Channel 3-5 */
|
||||
*pGroup = 1;
|
||||
*group = 1;
|
||||
else if (chnl < 9) /* Channel 6-8 */
|
||||
*pGroup = 2;
|
||||
*group = 2;
|
||||
else if (chnl < 12) /* Channel 9-11 */
|
||||
*pGroup = 3;
|
||||
*group = 3;
|
||||
else if (chnl < 14) /* Channel 12-13 */
|
||||
*pGroup = 4;
|
||||
*group = 4;
|
||||
else if (chnl == 14) /* Channel 14 */
|
||||
*pGroup = 5;
|
||||
*group = 5;
|
||||
}
|
||||
|
||||
void Hal_ReadPowerSavingMode88E(struct adapter *padapter, u8 *hwinfo, bool AutoLoadFail)
|
||||
|
|
Loading…
Reference in a new issue