Commit e5afcc0f authored by John Whitmore's avatar John Whitmore Committed by Greg Kroah-Hartman

staging:rtl8192u: Rename bAddBaReqInProgress - Style

Rename the member variable bAddBaReqInProgress to add_ba_req_in_progress
This change clears the checkpatch issue with CamelCase naming.

Changes are purely coding style and should have no impact on runtime
code execution.
Signed-off-by: default avatarJohn Whitmore <johnfwhitmore@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent f57383bc
...@@ -469,7 +469,7 @@ int ieee80211_rx_ADDBARsp(struct ieee80211_device *ieee, struct sk_buff *skb) ...@@ -469,7 +469,7 @@ int ieee80211_rx_ADDBARsp(struct ieee80211_device *ieee, struct sk_buff *skb)
goto OnADDBARsp_Reject; goto OnADDBARsp_Reject;
} }
pTS->bAddBaReqInProgress = false; pTS->add_ba_req_in_progress = false;
pPendingBA = &pTS->tx_pending_ba_record; pPendingBA = &pTS->tx_pending_ba_record;
pAdmittedBA = &pTS->tx_admitted_ba_record; pAdmittedBA = &pTS->tx_admitted_ba_record;
...@@ -595,7 +595,7 @@ int ieee80211_rx_DELBA(struct ieee80211_device *ieee, struct sk_buff *skb) ...@@ -595,7 +595,7 @@ int ieee80211_rx_DELBA(struct ieee80211_device *ieee, struct sk_buff *skb)
} }
pTxTs->bUsingBa = false; pTxTs->bUsingBa = false;
pTxTs->bAddBaReqInProgress = false; pTxTs->add_ba_req_in_progress = false;
pTxTs->bAddBaReqDelayed = false; pTxTs->bAddBaReqDelayed = false;
del_timer_sync(&pTxTs->TsAddBaTimer); del_timer_sync(&pTxTs->TsAddBaTimer);
//PlatformCancelTimer(Adapter, &pTxTs->TsAddBaTimer); //PlatformCancelTimer(Adapter, &pTxTs->TsAddBaTimer);
...@@ -671,7 +671,7 @@ void BaSetupTimeOut(struct timer_list *t) ...@@ -671,7 +671,7 @@ void BaSetupTimeOut(struct timer_list *t)
{ {
struct tx_ts_record *pTxTs = from_timer(pTxTs, t, tx_pending_ba_record.Timer); struct tx_ts_record *pTxTs = from_timer(pTxTs, t, tx_pending_ba_record.Timer);
pTxTs->bAddBaReqInProgress = false; pTxTs->add_ba_req_in_progress = false;
pTxTs->bAddBaReqDelayed = true; pTxTs->bAddBaReqDelayed = true;
pTxTs->tx_pending_ba_record.bValid = false; pTxTs->tx_pending_ba_record.bValid = false;
} }
......
...@@ -32,7 +32,7 @@ struct tx_ts_record { ...@@ -32,7 +32,7 @@ struct tx_ts_record {
BA_RECORD tx_pending_ba_record; /* For BA Originator */ BA_RECORD tx_pending_ba_record; /* For BA Originator */
BA_RECORD tx_admitted_ba_record; /* For BA Originator */ BA_RECORD tx_admitted_ba_record; /* For BA Originator */
/* QOS_DL_RECORD DLRecord; */ /* QOS_DL_RECORD DLRecord; */
u8 bAddBaReqInProgress; u8 add_ba_req_in_progress;
u8 bAddBaReqDelayed; u8 bAddBaReqDelayed;
u8 bUsingBa; u8 bUsingBa;
struct timer_list TsAddBaTimer; struct timer_list TsAddBaTimer;
......
...@@ -114,7 +114,7 @@ static void ResetTxTsEntry(struct tx_ts_record *pTS) ...@@ -114,7 +114,7 @@ static void ResetTxTsEntry(struct tx_ts_record *pTS)
{ {
ResetTsCommonInfo(&pTS->ts_common_info); ResetTsCommonInfo(&pTS->ts_common_info);
pTS->tx_cur_seq = 0; pTS->tx_cur_seq = 0;
pTS->bAddBaReqInProgress = false; pTS->add_ba_req_in_progress = false;
pTS->bAddBaReqDelayed = false; pTS->bAddBaReqDelayed = false;
pTS->bUsingBa = false; pTS->bUsingBa = false;
ResetBaEntry(&pTS->tx_admitted_ba_record); //For BA Originator ResetBaEntry(&pTS->tx_admitted_ba_record); //For BA Originator
...@@ -522,8 +522,8 @@ void RemoveAllTS(struct ieee80211_device *ieee) ...@@ -522,8 +522,8 @@ void RemoveAllTS(struct ieee80211_device *ieee)
void TsStartAddBaProcess(struct ieee80211_device *ieee, struct tx_ts_record *pTxTS) void TsStartAddBaProcess(struct ieee80211_device *ieee, struct tx_ts_record *pTxTS)
{ {
if(!pTxTS->bAddBaReqInProgress) { if(!pTxTS->add_ba_req_in_progress) {
pTxTS->bAddBaReqInProgress = true; pTxTS->add_ba_req_in_progress = true;
if(pTxTS->bAddBaReqDelayed) { if(pTxTS->bAddBaReqDelayed) {
IEEE80211_DEBUG(IEEE80211_DL_BA, "TsStartAddBaProcess(): Delayed Start ADDBA after 60 sec!!\n"); IEEE80211_DEBUG(IEEE80211_DL_BA, "TsStartAddBaProcess(): Delayed Start ADDBA after 60 sec!!\n");
mod_timer(&pTxTS->TsAddBaTimer, mod_timer(&pTxTS->TsAddBaTimer,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment