Staging: rtl8192e: Rename function ActivateBAEntry
PATCH 1/12 Staging: rtl8192e: Rename function ActivateBAEntry
Rename function ActivateBAEntry to activate_ba_entry in order to Fix checkpatch warning: Avoid CamelCase
Signed-off-by Tree Davies <[email protected]>
--- drivers/staging/rtl8192e/rtl819x_BAProc.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
drivers/staging/rtl8192e/rtl819x_BAProc.c +4 -4
@@ -10,7 +10,7 @@#include "rtllib.h" #include "rtl819x_BA.h" -static void ActivateBAEntry (struct ba_record *pBA,u16 Time) +static void activate_ba_entry (struct ba_record *pBA,u16 Time) { pBA->b_valid = true;if (Time !=0 )
@@ -282,7 +282,7 @@ int rtllib_rx_ADDBAReq(struct rtllib_device *ieee, struct sk_buff *skb)else pBA->ba_param_set.field.buffer_size =32 ; -ActivateBAEntry (pBA,0 ); +activate_ba_entry (pBA,0 );rtllib_send_ADDBARsp (ieee, dst, pBA,ADDBA_STATUS_SUCCESS );return 0 ;
@@ -379,7 +379,7 @@ int rtllib_rx_ADDBARsp(struct rtllib_device *ieee, struct sk_buff *skb) pAdmittedBA->ba_start_seq_ctrl = pPendingBA->ba_start_seq_ctrl; pAdmittedBA->ba_param_set = *pBaParamSet;DeActivateBAEntry (ieee, pAdmittedBA); -ActivateBAEntry (pAdmittedBA, *pBaTimeoutVal); +activate_ba_entry (pAdmittedBA, *pBaTimeoutVal); }else { pTS->bAddBaReqDelayed = true; pTS->bDisable_AddBa = true;
@@ -479,7 +479,7 @@ void TsInitAddBA(struct rtllib_device *ieee, struct tx_ts_record *pTS, pBA->ba_timeout_value =0 ; pBA->ba_start_seq_ctrl.field.seq_num = (pTS->TxCurSeq +3 ) %4096 ; -ActivateBAEntry (pBA,BA_SETUP_TIMEOUT ); +activate_ba_entry (pBA,BA_SETUP_TIMEOUT );rtllib_send_ADDBAReq (ieee, pTS->TsCommonInfo.Addr, pBA); }
Signature · 1 line
2.41.0
Greg KH
maintainerQuoted 7 lines · Tree Davies
Rename function ActivateBAEntry to
activate_ba_entryin order to Fix checkpatch warning: Avoid CamelCaseSigned-off-by Tree Davies <[email protected]>--- drivers/staging/rtl8192e/rtl819x_BAProc.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
Odd, this series is not correctly linked together (see lore.kernel.org for the results), and it's not listed as a v2?
Please fix this up and resend the whole series properly.
thanks,
greg k-h