Commit 0936cda7 authored by Tree Davies's avatar Tree Davies Committed by Greg Kroah-Hartman
Browse files

Staging: rtl8192e: Rename function BaSetupTimeOut



Rename function BaSetupTimeOut to rtllib_ba_setup_timeout in order to Fix
checkpatch warning: Avoid CamelCase.

Signed-off-by: default avatarTree Davies <tdavies@darkphysics.net>
Link: https://lore.kernel.org/r/20230807054732.1864827-4-tdavies@darkphysics.net


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent c54690eb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -508,7 +508,7 @@ void rtllib_ts_init_del_ba(struct rtllib_device *ieee,
	}
}

void BaSetupTimeOut(struct timer_list *t)
void rtllib_ba_setup_timeout(struct timer_list *t)
{
	struct tx_ts_record *pTxTs = from_timer(pTxTs, t,
					      TxPendingBARecord.timer);
+1 −1
Original line number Diff line number Diff line
@@ -136,7 +136,7 @@ void TSInitialize(struct rtllib_device *ieee)
		pTxTS->num = count;
		timer_setup(&pTxTS->TsAddBaTimer, TsAddBaProcess, 0);

		timer_setup(&pTxTS->TxPendingBARecord.timer, BaSetupTimeOut,
		timer_setup(&pTxTS->TxPendingBARecord.timer, rtllib_ba_setup_timeout,
			    0);
		timer_setup(&pTxTS->TxAdmittedBARecord.timer,
			    TxBaInactTimeout, 0);
+1 −1
Original line number Diff line number Diff line
@@ -2007,7 +2007,7 @@ void rtllib_ts_init_add_ba(struct rtllib_device *ieee, struct tx_ts_record *pTS,
void rtllib_ts_init_del_ba(struct rtllib_device *ieee,
			   struct ts_common_info *pTsCommonInfo,
			   enum tr_select TxRxSelect);
void BaSetupTimeOut(struct timer_list *t);
void rtllib_ba_setup_timeout(struct timer_list *t);
void TxBaInactTimeout(struct timer_list *t);
void RxBaInactTimeout(struct timer_list *t);
void rtllib_reset_ba_entry(struct ba_record *pBA);