diff options
author | Tree Davies <tdavies@darkphysics.net> | 2023-12-17 15:55:16 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-12-18 16:31:32 +0100 |
commit | 1cf5e0a3668eaf6770e2013eebb3dcfebb08771d (patch) | |
tree | d7d5f55f08cf2962e2dc456f75a2da662b2e9ee1 /drivers/staging | |
parent | fd00f665454fef2bdbcf27c7efceaf5f1b880bc9 (diff) |
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>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/rtl8192e/rtl819x_BAProc.c | 2 | ||||
-rw-r--r-- | drivers/staging/rtl8192e/rtl819x_TSProc.c | 4 | ||||
-rw-r--r-- | drivers/staging/rtl8192e/rtllib.h | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/drivers/staging/rtl8192e/rtl819x_BAProc.c b/drivers/staging/rtl8192e/rtl819x_BAProc.c index 401b9efb25aa..cdbda65b4d50 100644 --- a/drivers/staging/rtl8192e/rtl819x_BAProc.c +++ b/drivers/staging/rtl8192e/rtl819x_BAProc.c @@ -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, diff --git a/drivers/staging/rtl8192e/rtl819x_TSProc.c b/drivers/staging/rtl8192e/rtl819x_TSProc.c index 8c7fe327ae1e..2d2deeabc48d 100644 --- a/drivers/staging/rtl8192e/rtl819x_TSProc.c +++ b/drivers/staging/rtl8192e/rtl819x_TSProc.c @@ -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; diff --git a/drivers/staging/rtl8192e/rtllib.h b/drivers/staging/rtl8192e/rtllib.h index 343ea20c1aa4..4df46eae6aa8 100644 --- a/drivers/staging/rtl8192e/rtllib.h +++ b/drivers/staging/rtl8192e/rtllib.h @@ -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; |