mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-10 11:40:19 -04:00
Staging: rtl8192e: Rename variable bUsingBa
Rename variable bUsingBa to using_ba to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies <tdavies@darkphysics.net> Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> Link: https://lore.kernel.org/r/20231113195910.8423-6-tdavies@darkphysics.net Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
88b1b5ef72
commit
5ed1ffa355
@@ -452,7 +452,7 @@ int rtllib_rx_DELBA(struct rtllib_device *ieee, struct sk_buff *skb)
|
||||
return -1;
|
||||
}
|
||||
|
||||
pTxTs->bUsingBa = false;
|
||||
pTxTs->using_ba = false;
|
||||
pTxTs->add_ba_req_in_progress = false;
|
||||
pTxTs->add_ba_req_delayed = false;
|
||||
del_timer_sync(&pTxTs->TsAddBaTimer);
|
||||
|
||||
@@ -29,7 +29,7 @@ struct tx_ts_record {
|
||||
struct ba_record TxAdmittedBARecord;
|
||||
u8 add_ba_req_in_progress;
|
||||
u8 add_ba_req_delayed;
|
||||
u8 bUsingBa;
|
||||
u8 using_ba;
|
||||
u8 bDisable_AddBa;
|
||||
struct timer_list TsAddBaTimer;
|
||||
u8 num;
|
||||
|
||||
@@ -103,7 +103,7 @@ static void ResetTxTsEntry(struct tx_ts_record *ts)
|
||||
ts->TxCurSeq = 0;
|
||||
ts->add_ba_req_in_progress = false;
|
||||
ts->add_ba_req_delayed = false;
|
||||
ts->bUsingBa = false;
|
||||
ts->using_ba = false;
|
||||
ts->bDisable_AddBa = false;
|
||||
rtllib_reset_ba_entry(&ts->TxAdmittedBARecord);
|
||||
rtllib_reset_ba_entry(&ts->TxPendingBARecord);
|
||||
|
||||
@@ -304,10 +304,10 @@ static void rtllib_tx_query_agg_cap(struct rtllib_device *ieee,
|
||||
TsStartAddBaProcess(ieee, pTxTs);
|
||||
}
|
||||
goto FORCED_AGG_SETTING;
|
||||
} else if (!pTxTs->bUsingBa) {
|
||||
} else if (!pTxTs->using_ba) {
|
||||
if (SN_LESS(pTxTs->TxAdmittedBARecord.ba_start_seq_ctrl.field.seq_num,
|
||||
(pTxTs->TxCurSeq + 1) % 4096))
|
||||
pTxTs->bUsingBa = true;
|
||||
pTxTs->using_ba = true;
|
||||
else
|
||||
goto FORCED_AGG_SETTING;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user