Staging: rtl8192e: Rename function TsStartAddBaProcess()

Rename variable TsStartAddBaProcess to
rtllib_ts_start_add_ba_process to fix checkpatch
warning Avoid CamelCase.

Signed-off-by: Tree Davies <tdavies@darkphysics.net>
Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com>
Reviewed-by: Dan Carpenter <dan.carpenter@linaro.org>
Link: https://lore.kernel.org/r/20240612032230.9738-15-tdavies@darkphysics.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Tree Davies 2024-06-11 20:22:20 -07:00 committed by Greg Kroah-Hartman
parent 128fb2e925
commit c06cd8ad4e
3 changed files with 3 additions and 3 deletions

View File

@ -431,7 +431,7 @@ void remove_all_ts(struct rtllib_device *ieee)
} }
} }
void TsStartAddBaProcess(struct rtllib_device *ieee, struct tx_ts_record *pTxTS) void rtllib_ts_start_add_ba_process(struct rtllib_device *ieee, struct tx_ts_record *pTxTS)
{ {
if (pTxTS->add_ba_req_in_progress == false) { if (pTxTS->add_ba_req_in_progress == false) {
pTxTS->add_ba_req_in_progress = true; pTxTS->add_ba_req_in_progress = true;

View File

@ -1770,7 +1770,7 @@ void rtllib_reset_ba_entry(struct ba_record *ba);
bool rtllib_get_ts(struct rtllib_device *ieee, struct ts_common_info **ppTS, u8 *addr, bool rtllib_get_ts(struct rtllib_device *ieee, struct ts_common_info **ppTS, u8 *addr,
u8 TID, enum tr_select tx_rx_select, bool bAddNewTs); u8 TID, enum tr_select tx_rx_select, bool bAddNewTs);
void rtllib_ts_init(struct rtllib_device *ieee); void rtllib_ts_init(struct rtllib_device *ieee);
void TsStartAddBaProcess(struct rtllib_device *ieee, void rtllib_ts_start_add_ba_process(struct rtllib_device *ieee,
struct tx_ts_record *pTxTS); struct tx_ts_record *pTxTS);
void remove_peer_ts(struct rtllib_device *ieee, u8 *addr); void remove_peer_ts(struct rtllib_device *ieee, u8 *addr);
void remove_all_ts(struct rtllib_device *ieee); void remove_all_ts(struct rtllib_device *ieee);

View File

@ -301,7 +301,7 @@ static void rtllib_tx_query_agg_cap(struct rtllib_device *ieee,
} else if (tcb_desc->bdhcp == 1) { } else if (tcb_desc->bdhcp == 1) {
; ;
} else if (!ts->disable_add_ba) { } else if (!ts->disable_add_ba) {
TsStartAddBaProcess(ieee, ts); rtllib_ts_start_add_ba_process(ieee, ts);
} }
return; return;
} else if (!ts->using_ba) { } else if (!ts->using_ba) {