Staging: rtl8192e: Rename function ResetBaEntry
PATCH 5/5 Staging: rtl8192e: Rename function ResetBaEntry
Rename function ResetBaEntry to reset_ba_entry in order to Fix checkpatch
warning: Avoid CamelCase
Signed-off-by Tree Davies <[email protected]>
--- drivers/staging/rtl8192e/rtl819x_BAProc.c | 2 +- drivers/staging/rtl8192e/rtl819x_TSProc.c | 6 +++--- drivers/staging/rtl8192e/rtllib.h | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-)
drivers/staging/rtl8192e/rtl819x_BAProc.c +1 -1
@@ -54,7 +54,7 @@ static u8 rx_ts_delete_ba(struct rtllib_device *ieee, struct rx_ts_record *pRxTsreturn bSendDELBA; } -void ResetBaEntry (struct ba_record *pBA) +void reset_ba_entry (struct ba_record *pBA) { pBA->b_valid = false; pBA->ba_param_set.short_data =0 ;
drivers/staging/rtl8192e/rtl819x_TSProc.c +3 -3
@@ -117,8 +117,8 @@ static void ResetTxTsEntry(struct tx_ts_record *pTS) pTS->bAddBaReqDelayed = false; pTS->bUsingBa = false; pTS->bDisable_AddBa = false; -ResetBaEntry (&pTS->TxAdmittedBARecord); -ResetBaEntry (&pTS->TxPendingBARecord); +reset_ba_entry (&pTS->TxAdmittedBARecord); +reset_ba_entry (&pTS->TxPendingBARecord); }static void ResetRxTsEntry (struct rx_ts_record *pTS)
@@ -126,7 +126,7 @@ static void ResetRxTsEntry(struct rx_ts_record *pTS)ResetTsCommonInfo (&pTS->ts_common_info); pTS->rx_indicate_seq =0xffff ; pTS->rx_timeout_indicate_seq =0xffff ; -ResetBaEntry (&pTS->rx_admitted_ba_record); +reset_ba_entry (&pTS->rx_admitted_ba_record); }void TSInitialize (struct rtllib_device *ieee)
drivers/staging/rtl8192e/rtllib.h +1 -1
@@ -2016,7 +2016,7 @@ void TsInitDelBA(struct rtllib_device *ieee,void BaSetupTimeOut (struct timer_list *t);void TxBaInactTimeout (struct timer_list *t);void RxBaInactTimeout (struct timer_list *t); -void ResetBaEntry (struct ba_record *pBA); +void reset_ba_entry (struct ba_record *pBA);bool GetTs (struct rtllib_device *ieee,struct ts_common_info **ppTS,u8 *Addr,u8 TID ,enum tr_select TxRxSelect,bool bAddNewTs);void TSInitialize (struct rtllib_device *ieee);
Signature · 1 line
2.41.0