Skip to content

Commit 4497af9

Browse files
treedaviesgregkh
authored andcommitted
Staging: rtl8192e: Rename variable pDelBaParamSet
Rename variable pDelBaParamSet to del_ba_param_set to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies <tdavies@darkphysics.net> Link: https://lore.kernel.org/r/20231217235520.30377-5-tdavies@darkphysics.net Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 6654765 commit 4497af9

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

drivers/staging/rtl8192e/rtl819x_BAProc.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ int rtllib_rx_ADDBARsp(struct rtllib_device *ieee, struct sk_buff *skb)
402402
int rtllib_rx_DELBA(struct rtllib_device *ieee, struct sk_buff *skb)
403403
{
404404
struct ieee80211_hdr_3addr *delba = NULL;
405-
union delba_param_set *pDelBaParamSet = NULL;
405+
union delba_param_set *del_ba_param_set = NULL;
406406
u8 *dst = NULL;
407407

408408
if (skb->len < sizeof(struct ieee80211_hdr_3addr) + 6) {
@@ -427,17 +427,17 @@ int rtllib_rx_DELBA(struct rtllib_device *ieee, struct sk_buff *skb)
427427
#endif
428428
delba = (struct ieee80211_hdr_3addr *)skb->data;
429429
dst = (u8 *)(&delba->addr2[0]);
430-
pDelBaParamSet = (union delba_param_set *)&delba->seq_ctrl + 2;
430+
del_ba_param_set = (union delba_param_set *)&delba->seq_ctrl + 2;
431431

432-
if (pDelBaParamSet->field.initiator == 1) {
432+
if (del_ba_param_set->field.initiator == 1) {
433433
struct rx_ts_record *ts;
434434

435435
if (!rtllib_get_ts(ieee, (struct ts_common_info **)&ts, dst,
436-
(u8)pDelBaParamSet->field.tid, RX_DIR, false)) {
436+
(u8)del_ba_param_set->field.tid, RX_DIR, false)) {
437437
netdev_warn(ieee->dev,
438438
"%s(): can't get TS for RXTS. dst:%pM TID:%d\n",
439439
__func__, dst,
440-
(u8)pDelBaParamSet->field.tid);
440+
(u8)del_ba_param_set->field.tid);
441441
return -1;
442442
}
443443

@@ -446,7 +446,7 @@ int rtllib_rx_DELBA(struct rtllib_device *ieee, struct sk_buff *skb)
446446
struct tx_ts_record *ts;
447447

448448
if (!rtllib_get_ts(ieee, (struct ts_common_info **)&ts, dst,
449-
(u8)pDelBaParamSet->field.tid, TX_DIR, false)) {
449+
(u8)del_ba_param_set->field.tid, TX_DIR, false)) {
450450
netdev_warn(ieee->dev, "%s(): can't get TS for TXTS\n",
451451
__func__);
452452
return -1;

0 commit comments

Comments
 (0)