Staging: rtl8192e: Rename variable pTS in function ResetRxTsEntry()

Rename variable pTS in function ResetRxTsEntry() to ts
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/20230825140847.501113-8-tdavies@darkphysics.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Tree Davies
2023-08-25 07:08:38 -07:00
committed by Greg Kroah-Hartman
parent 9ec52579dc
commit 065680fcc6

View File

@@ -112,12 +112,12 @@ static void ResetTxTsEntry(struct tx_ts_record *pTS)
rtllib_reset_ba_entry(&pTS->TxPendingBARecord);
}
static void ResetRxTsEntry(struct rx_ts_record *pTS)
static void ResetRxTsEntry(struct rx_ts_record *ts)
{
ResetTsCommonInfo(&pTS->ts_common_info);
pTS->rx_indicate_seq = 0xffff;
pTS->rx_timeout_indicate_seq = 0xffff;
rtllib_reset_ba_entry(&pTS->rx_admitted_ba_record);
ResetTsCommonInfo(&ts->ts_common_info);
ts->rx_indicate_seq = 0xffff;
ts->rx_timeout_indicate_seq = 0xffff;
rtllib_reset_ba_entry(&ts->rx_admitted_ba_record);
}
void TSInitialize(struct rtllib_device *ieee)