Skip to content

Commit 7f2c9c0

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

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

drivers/staging/rtl8192e/rtl819x_BAProc.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ int rtllib_rx_ADDBAReq(struct rtllib_device *ieee, struct sk_buff *skb)
219219
struct ba_record *ba = NULL;
220220
union ba_param_set *ba_param_set = NULL;
221221
u16 *ba_timeout_value = NULL;
222-
union sequence_control *pBaStartSeqCtrl = NULL;
222+
union sequence_control *ba_start_seq_ctrl = NULL;
223223
struct rx_ts_record *ts = NULL;
224224

225225
if (skb->len < sizeof(struct ieee80211_hdr_3addr) + 9) {
@@ -241,7 +241,7 @@ int rtllib_rx_ADDBAReq(struct rtllib_device *ieee, struct sk_buff *skb)
241241
dialog_token = tag + 2;
242242
ba_param_set = (union ba_param_set *)(tag + 3);
243243
ba_timeout_value = (u16 *)(tag + 5);
244-
pBaStartSeqCtrl = (union sequence_control *)(req + 7);
244+
ba_start_seq_ctrl = (union sequence_control *)(req + 7);
245245

246246
if (!ieee->current_network.qos_data.active ||
247247
!ieee->ht_info->current_ht_support ||
@@ -274,7 +274,7 @@ int rtllib_rx_ADDBAReq(struct rtllib_device *ieee, struct sk_buff *skb)
274274
ba->dialog_token = *dialog_token;
275275
ba->ba_param_set = *ba_param_set;
276276
ba->ba_timeout_value = *ba_timeout_value;
277-
ba->ba_start_seq_ctrl = *pBaStartSeqCtrl;
277+
ba->ba_start_seq_ctrl = *ba_start_seq_ctrl;
278278

279279
if (ieee->GetHalfNmodeSupportByAPsHandler(ieee->dev) ||
280280
(ieee->ht_info->iot_action & HT_IOT_ACT_ALLOW_PEER_AGG_ONE_PKT))

0 commit comments

Comments
 (0)