mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-05 16:37:50 +00:00
Staging: rtl8192e: Rename variable bDisable_AddBa
Rename variable bDisable_AddBa to disable_add_ba to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies <tdavies@darkphysics.net> Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> Link: https://lore.kernel.org/r/20231113195910.8423-8-tdavies@darkphysics.net Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
4c4fdf2659
commit
23c2c8cf4f
4 changed files with 4 additions and 4 deletions
|
@ -382,7 +382,7 @@ int rtllib_rx_ADDBARsp(struct rtllib_device *ieee, struct sk_buff *skb)
|
||||||
activate_ba_entry(pAdmittedBA, *pBaTimeoutVal);
|
activate_ba_entry(pAdmittedBA, *pBaTimeoutVal);
|
||||||
} else {
|
} else {
|
||||||
ts->add_ba_req_delayed = true;
|
ts->add_ba_req_delayed = true;
|
||||||
ts->bDisable_AddBa = true;
|
ts->disable_add_ba = true;
|
||||||
reason_code = DELBA_REASON_END_BA;
|
reason_code = DELBA_REASON_END_BA;
|
||||||
goto OnADDBARsp_Reject;
|
goto OnADDBARsp_Reject;
|
||||||
}
|
}
|
||||||
|
|
|
@ -30,7 +30,7 @@ struct tx_ts_record {
|
||||||
u8 add_ba_req_in_progress;
|
u8 add_ba_req_in_progress;
|
||||||
u8 add_ba_req_delayed;
|
u8 add_ba_req_delayed;
|
||||||
u8 using_ba;
|
u8 using_ba;
|
||||||
u8 bDisable_AddBa;
|
u8 disable_add_ba;
|
||||||
struct timer_list TsAddBaTimer;
|
struct timer_list TsAddBaTimer;
|
||||||
u8 num;
|
u8 num;
|
||||||
};
|
};
|
||||||
|
|
|
@ -104,7 +104,7 @@ static void ResetTxTsEntry(struct tx_ts_record *ts)
|
||||||
ts->add_ba_req_in_progress = false;
|
ts->add_ba_req_in_progress = false;
|
||||||
ts->add_ba_req_delayed = false;
|
ts->add_ba_req_delayed = false;
|
||||||
ts->using_ba = false;
|
ts->using_ba = false;
|
||||||
ts->bDisable_AddBa = false;
|
ts->disable_add_ba = false;
|
||||||
rtllib_reset_ba_entry(&ts->TxAdmittedBARecord);
|
rtllib_reset_ba_entry(&ts->TxAdmittedBARecord);
|
||||||
rtllib_reset_ba_entry(&ts->TxPendingBARecord);
|
rtllib_reset_ba_entry(&ts->TxPendingBARecord);
|
||||||
}
|
}
|
||||||
|
|
|
@ -300,7 +300,7 @@ static void rtllib_tx_query_agg_cap(struct rtllib_device *ieee,
|
||||||
;
|
;
|
||||||
} else if (tcb_desc->bdhcp == 1) {
|
} else if (tcb_desc->bdhcp == 1) {
|
||||||
;
|
;
|
||||||
} else if (!pTxTs->bDisable_AddBa) {
|
} else if (!pTxTs->disable_add_ba) {
|
||||||
TsStartAddBaProcess(ieee, pTxTs);
|
TsStartAddBaProcess(ieee, pTxTs);
|
||||||
}
|
}
|
||||||
goto FORCED_AGG_SETTING;
|
goto FORCED_AGG_SETTING;
|
||||||
|
|
Loading…
Reference in a new issue