From: Tree Davies Date: Sun, 17 Dec 2023 23:55:20 +0000 (-0800) Subject: Staging: rtl8192e: Rename variable pBaStartSeqCtrl X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=7f2c9c0bb8d575ed289943ad782776649343ee7e;p=linux.git Staging: rtl8192e: Rename variable pBaStartSeqCtrl Rename variable pBaStartSeqCtrl to ba_start_seq_ctrl to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies Link: https://lore.kernel.org/r/20231217235520.30377-7-tdavies@darkphysics.net Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8192e/rtl819x_BAProc.c b/drivers/staging/rtl8192e/rtl819x_BAProc.c index 2fd54312c04fe..ee9ce392155c3 100644 --- a/drivers/staging/rtl8192e/rtl819x_BAProc.c +++ b/drivers/staging/rtl8192e/rtl819x_BAProc.c @@ -219,7 +219,7 @@ int rtllib_rx_ADDBAReq(struct rtllib_device *ieee, struct sk_buff *skb) struct ba_record *ba = NULL; union ba_param_set *ba_param_set = NULL; u16 *ba_timeout_value = NULL; - union sequence_control *pBaStartSeqCtrl = NULL; + union sequence_control *ba_start_seq_ctrl = NULL; struct rx_ts_record *ts = NULL; 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) dialog_token = tag + 2; ba_param_set = (union ba_param_set *)(tag + 3); ba_timeout_value = (u16 *)(tag + 5); - pBaStartSeqCtrl = (union sequence_control *)(req + 7); + ba_start_seq_ctrl = (union sequence_control *)(req + 7); if (!ieee->current_network.qos_data.active || !ieee->ht_info->current_ht_support || @@ -274,7 +274,7 @@ int rtllib_rx_ADDBAReq(struct rtllib_device *ieee, struct sk_buff *skb) ba->dialog_token = *dialog_token; ba->ba_param_set = *ba_param_set; ba->ba_timeout_value = *ba_timeout_value; - ba->ba_start_seq_ctrl = *pBaStartSeqCtrl; + ba->ba_start_seq_ctrl = *ba_start_seq_ctrl; if (ieee->GetHalfNmodeSupportByAPsHandler(ieee->dev) || (ieee->ht_info->iot_action & HT_IOT_ACT_ALLOW_PEER_AGG_ONE_PKT))