mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-03 00:54:09 +08:00
staging: vt6655: Type encoding info dropped from array name "cwRXBCNTSFOff"
array name "cwRXBCNTSFOff" updated like below: a.type encoding info dropped from name b.camelcase name replaced by snakecase Issue found by checkpatch Signed-off-by: Pavan Bobba <opensource206@gmail.com> Link: https://lore.kernel.org/r/b66d2cfebc199c20ff05143185400b6afd351f5a.1698396278.git.opensource206@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
b83b736825
commit
6c149083e7
@ -50,7 +50,7 @@
|
||||
|
||||
/*--------------------- Static Variables --------------------------*/
|
||||
|
||||
static const unsigned short cwRXBCNTSFOff[MAX_RATE] = {
|
||||
static const unsigned short rx_bcn_tsf_off[MAX_RATE] = {
|
||||
17, 17, 17, 17, 34, 23, 17, 11, 8, 5, 4, 3};
|
||||
|
||||
/*--------------------- Static Functions --------------------------*/
|
||||
@ -712,7 +712,7 @@ u64 CARDqGetTSFOffset(unsigned char byRxRate, u64 qwTSF1, u64 qwTSF2)
|
||||
{
|
||||
unsigned short wRxBcnTSFOffst;
|
||||
|
||||
wRxBcnTSFOffst = cwRXBCNTSFOff[byRxRate % MAX_RATE];
|
||||
wRxBcnTSFOffst = rx_bcn_tsf_off[byRxRate % MAX_RATE];
|
||||
|
||||
qwTSF2 += (u64)wRxBcnTSFOffst;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user