staging:rtl8192u: Rename bAddBaReqDelayed - Style
authorJohn Whitmore <johnfwhitmore@gmail.com>
Fri, 27 Jul 2018 17:31:10 +0000 (18:31 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 29 Jul 2018 08:15:51 +0000 (10:15 +0200)
Rename the member variable bAddBaReqDelayed to add_ba_req_delayed
This change clears the checkpatch issue with CamelCase naming.

The resulting changes are purely coding style changes which should
have no impact on runtime code execution.

Signed-off-by: John Whitmore <johnfwhitmore@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192u/ieee80211/rtl819x_BAProc.c
drivers/staging/rtl8192u/ieee80211/rtl819x_TS.h
drivers/staging/rtl8192u/ieee80211/rtl819x_TSProc.c

index 3430a3041560d598724f382db6868e5522235abe..93967e56916c9955bb6c9205790e956215ae989b 100644 (file)
@@ -500,7 +500,7 @@ int ieee80211_rx_ADDBARsp(struct ieee80211_device *ieee, struct sk_buff *skb)
                //
                if (pBaParamSet->field.BAPolicy == BA_POLICY_DELAYED) {
                        // Since this is a kind of ADDBA failed, we delay next ADDBA process.
-                       pTS->bAddBaReqDelayed = true;
+                       pTS->add_ba_req_delayed = true;
                        DeActivateBAEntry(ieee, pAdmittedBA);
                        ReasonCode = DELBA_REASON_END_BA;
                        goto OnADDBARsp_Reject;
@@ -518,7 +518,7 @@ int ieee80211_rx_ADDBARsp(struct ieee80211_device *ieee, struct sk_buff *skb)
                ActivateBAEntry(ieee, pAdmittedBA, *pBaTimeoutVal);
        } else {
                // Delay next ADDBA process.
-               pTS->bAddBaReqDelayed = true;
+               pTS->add_ba_req_delayed = true;
        }
 
        // End of procedure
@@ -596,7 +596,7 @@ int ieee80211_rx_DELBA(struct ieee80211_device *ieee, struct sk_buff *skb)
 
                pTxTs->bUsingBa = false;
                pTxTs->add_ba_req_in_progress = false;
-               pTxTs->bAddBaReqDelayed = false;
+               pTxTs->add_ba_req_delayed = false;
                del_timer_sync(&pTxTs->TsAddBaTimer);
                //PlatformCancelTimer(Adapter, &pTxTs->TsAddBaTimer);
                TxTsDeleteBA(ieee, pTxTs);
@@ -672,7 +672,7 @@ void BaSetupTimeOut(struct timer_list *t)
        struct tx_ts_record *pTxTs = from_timer(pTxTs, t, tx_pending_ba_record.Timer);
 
        pTxTs->add_ba_req_in_progress = false;
-       pTxTs->bAddBaReqDelayed = true;
+       pTxTs->add_ba_req_delayed = true;
        pTxTs->tx_pending_ba_record.bValid = false;
 }
 
index 4d4c25c0f7c425ee9af9d6f089b61a717ded0386..4c11ed776c25e756ae11cdaa830594225b45b362 100644 (file)
@@ -33,7 +33,7 @@ struct tx_ts_record {
        BA_RECORD                       tx_admitted_ba_record;  /*  For BA Originator */
 /*     QOS_DL_RECORD           DLRecord; */
        u8                              add_ba_req_in_progress;
-       u8                              bAddBaReqDelayed;
+       u8                              add_ba_req_delayed;
        u8                              bUsingBa;
        struct timer_list               TsAddBaTimer;
        u8                              num;
index 54ba60725317506630f2412f47d0f7fb45b9c1b9..ba7763265c08eef2ce5274ca1fb016808b7662b2 100644 (file)
@@ -115,7 +115,7 @@ static void ResetTxTsEntry(struct tx_ts_record *pTS)
        ResetTsCommonInfo(&pTS->ts_common_info);
        pTS->tx_cur_seq = 0;
        pTS->add_ba_req_in_progress = false;
-       pTS->bAddBaReqDelayed = false;
+       pTS->add_ba_req_delayed = false;
        pTS->bUsingBa = false;
        ResetBaEntry(&pTS->tx_admitted_ba_record); //For BA Originator
        ResetBaEntry(&pTS->tx_pending_ba_record);
@@ -524,7 +524,7 @@ void TsStartAddBaProcess(struct ieee80211_device *ieee, struct tx_ts_record *pTx
 {
        if(!pTxTS->add_ba_req_in_progress) {
                pTxTS->add_ba_req_in_progress = true;
-               if(pTxTS->bAddBaReqDelayed)     {
+               if(pTxTS->add_ba_req_delayed)   {
                        IEEE80211_DEBUG(IEEE80211_DL_BA, "TsStartAddBaProcess(): Delayed Start ADDBA after 60 sec!!\n");
                        mod_timer(&pTxTS->TsAddBaTimer,
                                  jiffies + msecs_to_jiffies(TS_ADDBA_DELAY));