mirror of
https://github.com/torvalds/linux
synced 2024-10-08 04:12:40 +00:00
staging: rtl8192e: Rename bConnectBySSID
Rename variable bConnectBySSID to connect_by_ssid to avoid CamelCase which is not accepted by checkpatch.pl. Signed-off-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> Link: https://lore.kernel.org/r/2b193be93598348994b1f890b6dc5c2ffb84a9b6.1662402870.git.philipp.g.hortmann@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
a2574a32c3
commit
142509f66b
|
@ -138,7 +138,7 @@ bool rtl92e_set_rf_state(struct net_device *dev,
|
|||
struct r8192_priv *priv = rtllib_priv(dev);
|
||||
struct rtllib_device *ieee = priv->rtllib;
|
||||
bool action_allowed = false;
|
||||
bool bConnectBySSID = false;
|
||||
bool connect_by_ssid = false;
|
||||
enum rt_rf_power_state rtState;
|
||||
u16 RFWaitCounter = 0;
|
||||
unsigned long flag;
|
||||
|
@ -181,7 +181,7 @@ bool rtl92e_set_rf_state(struct net_device *dev,
|
|||
|
||||
if (rtState == eRfOff &&
|
||||
change_source >= RF_CHANGE_BY_HW)
|
||||
bConnectBySSID = true;
|
||||
connect_by_ssid = true;
|
||||
}
|
||||
break;
|
||||
|
||||
|
@ -217,7 +217,7 @@ bool rtl92e_set_rf_state(struct net_device *dev,
|
|||
if (action_allowed) {
|
||||
rtl92e_set_rf_power_state(dev, state_to_set);
|
||||
if (state_to_set == eRfOn) {
|
||||
if (bConnectBySSID && priv->blinked_ingpio) {
|
||||
if (connect_by_ssid && priv->blinked_ingpio) {
|
||||
schedule_delayed_work(
|
||||
&ieee->associate_procedure_wq, 0);
|
||||
priv->blinked_ingpio = false;
|
||||
|
|
Loading…
Reference in a new issue