staging: rtl8192e: rename RxAdmittedBARecord to rx_admitted_ba_record in rx_ts_record struct
Rename RxAdmittedBARecord to rx_admitted_ba_record to silence a checkpatch warning about CamelCase. Signed-off-by: William Durand <will+git@drnd.me> Link: https://lore.kernel.org/r/20210301215335.767-7-will+git@drnd.me Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
d36d3096c8
commit
a860e1bb9f
@@ -44,7 +44,7 @@ static u8 TxTsDeleteBA(struct rtllib_device *ieee, struct tx_ts_record *pTxTs)
|
||||
|
||||
static u8 RxTsDeleteBA(struct rtllib_device *ieee, struct rx_ts_record *pRxTs)
|
||||
{
|
||||
struct ba_record *pBa = &pRxTs->RxAdmittedBARecord;
|
||||
struct ba_record *pBa = &pRxTs->rx_admitted_ba_record;
|
||||
u8 bSendDELBA = false;
|
||||
|
||||
if (pBa->b_valid) {
|
||||
@@ -265,7 +265,7 @@ int rtllib_rx_ADDBAReq(struct rtllib_device *ieee, struct sk_buff *skb)
|
||||
netdev_warn(ieee->dev, "%s(): can't get TS\n", __func__);
|
||||
goto OnADDBAReq_Fail;
|
||||
}
|
||||
pBA = &pTS->RxAdmittedBARecord;
|
||||
pBA = &pTS->rx_admitted_ba_record;
|
||||
|
||||
if (pBaParamSet->field.ba_policy == BA_POLICY_DELAYED) {
|
||||
rc = ADDBA_STATUS_INVALID_PARAM;
|
||||
@@ -514,7 +514,7 @@ void TsInitDelBA(struct rtllib_device *ieee,
|
||||
(struct rx_ts_record *)pTsCommonInfo;
|
||||
if (RxTsDeleteBA(ieee, pRxTs))
|
||||
rtllib_send_DELBA(ieee, pTsCommonInfo->Addr,
|
||||
&pRxTs->RxAdmittedBARecord,
|
||||
&pRxTs->rx_admitted_ba_record,
|
||||
TxRxSelect, DELBA_REASON_END_BA);
|
||||
}
|
||||
}
|
||||
@@ -544,12 +544,12 @@ void TxBaInactTimeout(struct timer_list *t)
|
||||
void RxBaInactTimeout(struct timer_list *t)
|
||||
{
|
||||
struct rx_ts_record *pRxTs = from_timer(pRxTs, t,
|
||||
RxAdmittedBARecord.timer);
|
||||
rx_admitted_ba_record.timer);
|
||||
struct rtllib_device *ieee = container_of(pRxTs, struct rtllib_device,
|
||||
RxTsRecord[pRxTs->num]);
|
||||
|
||||
RxTsDeleteBA(ieee, pRxTs);
|
||||
rtllib_send_DELBA(ieee, pRxTs->ts_common_info.Addr,
|
||||
&pRxTs->RxAdmittedBARecord, RX_DIR,
|
||||
&pRxTs->rx_admitted_ba_record, RX_DIR,
|
||||
DELBA_REASON_TIMEOUT);
|
||||
}
|
||||
|
||||
@@ -47,7 +47,7 @@ struct rx_ts_record {
|
||||
u16 rx_timeout_indicate_seq;
|
||||
struct list_head rx_pending_pkt_list;
|
||||
struct timer_list rx_pkt_pending_timer;
|
||||
struct ba_record RxAdmittedBARecord;
|
||||
struct ba_record rx_admitted_ba_record;
|
||||
u16 RxLastSeqNum;
|
||||
u8 RxLastFragNum;
|
||||
u8 num;
|
||||
|
||||
@@ -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->RxAdmittedBARecord);
|
||||
ResetBaEntry(&pTS->rx_admitted_ba_record);
|
||||
}
|
||||
|
||||
void TSInitialize(struct rtllib_device *ieee)
|
||||
@@ -175,7 +175,7 @@ void TSInitialize(struct rtllib_device *ieee)
|
||||
timer_setup(&pRxTS->ts_common_info.InactTimer, TsInactTimeout,
|
||||
0);
|
||||
|
||||
timer_setup(&pRxTS->RxAdmittedBARecord.timer,
|
||||
timer_setup(&pRxTS->rx_admitted_ba_record.timer,
|
||||
RxBaInactTimeout, 0);
|
||||
|
||||
timer_setup(&pRxTS->rx_pkt_pending_timer, RxPktPendingTimeout, 0);
|
||||
|
||||
Reference in New Issue
Block a user