staging: vt6655: fix camelcase in byRate
Replace camel case function parameter name byRate (hungarian notation) with snake case equivalent, in card.c Signed-off-by: Tommaso Merciai <tomm.merciai@gmail.com> Link: https://lore.kernel.org/r/20211007161535.7563-1-tomm.merciai@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Родитель
9ca0e55e52
Коммит
6ac113f741
|
@ -56,7 +56,7 @@ static const unsigned short cwRXBCNTSFOff[MAX_RATE] = {
|
|||
|
||||
/*--------------------- Static Functions --------------------------*/
|
||||
|
||||
static void s_vCalculateOFDMRParameter(unsigned char byRate, u8 bb_type,
|
||||
static void s_vCalculateOFDMRParameter(unsigned char rate, u8 bb_type,
|
||||
unsigned char *pbyTxRate,
|
||||
unsigned char *pbyRsvTime);
|
||||
|
||||
|
@ -75,12 +75,12 @@ static void s_vCalculateOFDMRParameter(unsigned char byRate, u8 bb_type,
|
|||
*
|
||||
* Return Value: none
|
||||
*/
|
||||
static void s_vCalculateOFDMRParameter(unsigned char byRate,
|
||||
static void s_vCalculateOFDMRParameter(unsigned char rate,
|
||||
u8 bb_type,
|
||||
unsigned char *pbyTxRate,
|
||||
unsigned char *pbyRsvTime)
|
||||
{
|
||||
switch (byRate) {
|
||||
switch (rate) {
|
||||
case RATE_6M:
|
||||
if (bb_type == BB_TYPE_11A) { /* 5GHZ */
|
||||
*pbyTxRate = 0x9B;
|
||||
|
|
Загрузка…
Ссылка в новой задаче