mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-17 18:36:00 +00:00
Staging: rtl8192e: Rename array variable TxTsRecord
Rename array variable TxTsRecord to tx_ts_records to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies <tdavies@darkphysics.net> Link: https://lore.kernel.org/r/20231217235520.30377-3-tdavies@darkphysics.net Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
fd00f66545
commit
1cf5e0a366
@ -523,7 +523,7 @@ void rtllib_tx_ba_inact_timeout(struct timer_list *t)
|
||||
struct tx_ts_record *ts = from_timer(ts, t,
|
||||
tx_admitted_ba_record.timer);
|
||||
struct rtllib_device *ieee = container_of(ts, struct rtllib_device,
|
||||
TxTsRecord[ts->num]);
|
||||
tx_ts_records[ts->num]);
|
||||
tx_ts_delete_ba(ieee, ts);
|
||||
rtllib_send_DELBA(ieee, ts->ts_common_info.addr,
|
||||
&ts->tx_admitted_ba_record, TX_DIR,
|
||||
|
@ -85,7 +85,7 @@ static void TsAddBaProcess(struct timer_list *t)
|
||||
struct tx_ts_record *ts = from_timer(ts, t, ts_add_ba_timer);
|
||||
u8 num = ts->num;
|
||||
struct rtllib_device *ieee = container_of(ts, struct rtllib_device,
|
||||
TxTsRecord[num]);
|
||||
tx_ts_records[num]);
|
||||
|
||||
rtllib_ts_init_add_ba(ieee, ts, BA_POLICY_IMMEDIATE, false);
|
||||
netdev_dbg(ieee->dev, "%s(): ADDBA Req is started\n", __func__);
|
||||
@ -119,7 +119,7 @@ static void ResetRxTsEntry(struct rx_ts_record *ts)
|
||||
|
||||
void rtllib_ts_init(struct rtllib_device *ieee)
|
||||
{
|
||||
struct tx_ts_record *pTxTS = ieee->TxTsRecord;
|
||||
struct tx_ts_record *pTxTS = ieee->tx_ts_records;
|
||||
struct rx_ts_record *rxts = ieee->rx_ts_records;
|
||||
struct rx_reorder_entry *pRxReorderEntry = ieee->RxReorderEntry;
|
||||
u8 count = 0;
|
||||
|
@ -1225,7 +1225,7 @@ struct rtllib_device {
|
||||
struct list_head Tx_TS_Admit_List;
|
||||
struct list_head Tx_TS_Pending_List;
|
||||
struct list_head Tx_TS_Unused_List;
|
||||
struct tx_ts_record TxTsRecord[TOTAL_TS_NUM];
|
||||
struct tx_ts_record tx_ts_records[TOTAL_TS_NUM];
|
||||
struct list_head Rx_TS_Admit_List;
|
||||
struct list_head Rx_TS_Pending_List;
|
||||
struct list_head Rx_TS_Unused_List;
|
||||
|
Loading…
x
Reference in New Issue
Block a user