Rename variable bAddBaReqInProgress to add_ba_req_in_progress to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies <tdavies@xxxxxxxxxxxxxxx> --- drivers/staging/rtl8192e/rtl819x_BAProc.c | 6 +++--- drivers/staging/rtl8192e/rtl819x_TS.h | 2 +- drivers/staging/rtl8192e/rtl819x_TSProc.c | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_BAProc.c b/drivers/staging/rtl8192e/rtl819x_BAProc.c index 404f873455fc..4d51c745e7f2 100644 --- a/drivers/staging/rtl8192e/rtl819x_BAProc.c +++ b/drivers/staging/rtl8192e/rtl819x_BAProc.c @@ -344,7 +344,7 @@ int rtllib_rx_ADDBARsp(struct rtllib_device *ieee, struct sk_buff *skb) goto OnADDBARsp_Reject; } - ts->bAddBaReqInProgress = false; + ts->add_ba_req_in_progress = false; pending_ba = &ts->TxPendingBARecord; pAdmittedBA = &ts->TxAdmittedBARecord; @@ -453,7 +453,7 @@ int rtllib_rx_DELBA(struct rtllib_device *ieee, struct sk_buff *skb) } pTxTs->bUsingBa = false; - pTxTs->bAddBaReqInProgress = false; + pTxTs->add_ba_req_in_progress = false; pTxTs->bAddBaReqDelayed = false; del_timer_sync(&pTxTs->TsAddBaTimer); tx_ts_delete_ba(ieee, pTxTs); @@ -513,7 +513,7 @@ void rtllib_ba_setup_timeout(struct timer_list *t) struct tx_ts_record *pTxTs = from_timer(pTxTs, t, TxPendingBARecord.timer); - pTxTs->bAddBaReqInProgress = false; + pTxTs->add_ba_req_in_progress = false; pTxTs->bAddBaReqDelayed = true; pTxTs->TxPendingBARecord.b_valid = false; } diff --git a/drivers/staging/rtl8192e/rtl819x_TS.h b/drivers/staging/rtl8192e/rtl819x_TS.h index fff36315f174..276a50f98781 100644 --- a/drivers/staging/rtl8192e/rtl819x_TS.h +++ b/drivers/staging/rtl8192e/rtl819x_TS.h @@ -27,7 +27,7 @@ struct tx_ts_record { u16 TxCurSeq; struct ba_record TxPendingBARecord; struct ba_record TxAdmittedBARecord; - u8 bAddBaReqInProgress; + u8 add_ba_req_in_progress; u8 bAddBaReqDelayed; u8 bUsingBa; u8 bDisable_AddBa; diff --git a/drivers/staging/rtl8192e/rtl819x_TSProc.c b/drivers/staging/rtl8192e/rtl819x_TSProc.c index 3206fdb3e65a..62414e7b8879 100644 --- a/drivers/staging/rtl8192e/rtl819x_TSProc.c +++ b/drivers/staging/rtl8192e/rtl819x_TSProc.c @@ -101,7 +101,7 @@ static void ResetTxTsEntry(struct tx_ts_record *ts) { ResetTsCommonInfo(&ts->TsCommonInfo); ts->TxCurSeq = 0; - ts->bAddBaReqInProgress = false; + ts->add_ba_req_in_progress = false; ts->bAddBaReqDelayed = false; ts->bUsingBa = false; ts->bDisable_AddBa = false; @@ -433,8 +433,8 @@ void RemoveAllTS(struct rtllib_device *ieee) void TsStartAddBaProcess(struct rtllib_device *ieee, struct tx_ts_record *pTxTS) { - if (pTxTS->bAddBaReqInProgress == false) { - pTxTS->bAddBaReqInProgress = true; + if (pTxTS->add_ba_req_in_progress == false) { + pTxTS->add_ba_req_in_progress = true; if (pTxTS->bAddBaReqDelayed) { netdev_dbg(ieee->dev, "Start ADDBA after 60 sec!!\n"); -- 2.39.2