mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-08 11:41:37 -04:00
staging: rtl8192e: rename SeqNum to seq_num in sequence_control union
Fixes a checkpatch CHECK message. Signed-off-by: William Durand <will+git@drnd.me> Link: https://lore.kernel.org/r/20210214140332.16175-4-will+git@drnd.me Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
a6a3dd3752
commit
cedbc3ac57
@@ -23,7 +23,7 @@ union sequence_control {
|
||||
u16 short_data;
|
||||
struct {
|
||||
u16 frag_num:4;
|
||||
u16 SeqNum:12;
|
||||
u16 seq_num:12;
|
||||
} field;
|
||||
};
|
||||
|
||||
|
||||
@@ -489,7 +489,7 @@ void TsInitAddBA(struct rtllib_device *ieee, struct tx_ts_record *pTS,
|
||||
pTS->TsCommonInfo.TSpec.f.TSInfo.field.ucTSID;
|
||||
pBA->BaParamSet.field.BufferSize = 32;
|
||||
pBA->BaTimeoutValue = 0;
|
||||
pBA->BaStartSeqCtrl.field.SeqNum = (pTS->TxCurSeq + 3) % 4096;
|
||||
pBA->BaStartSeqCtrl.field.seq_num = (pTS->TxCurSeq + 3) % 4096;
|
||||
|
||||
ActivateBAEntry(ieee, pBA, BA_SETUP_TIMEOUT);
|
||||
|
||||
|
||||
@@ -308,7 +308,7 @@ static void rtllib_tx_query_agg_cap(struct rtllib_device *ieee,
|
||||
}
|
||||
goto FORCED_AGG_SETTING;
|
||||
} else if (!pTxTs->bUsingBa) {
|
||||
if (SN_LESS(pTxTs->TxAdmittedBARecord.BaStartSeqCtrl.field.SeqNum,
|
||||
if (SN_LESS(pTxTs->TxAdmittedBARecord.BaStartSeqCtrl.field.seq_num,
|
||||
(pTxTs->TxCurSeq+1)%4096))
|
||||
pTxTs->bUsingBa = true;
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user