Commit 56c3350b authored by Tree Davies's avatar Tree Davies Committed by Greg Kroah-Hartman

Staging: rtl8192e: Rename variable msDelay

Rename variable msDelay to ms_delay
to fix checkpatch warning Avoid CamelCase.
Signed-off-by: default avatarTree Davies <tdavies@darkphysics.net>
Tested-by: default avatarPhilipp Hortmann <philipp.g.hortmann@gmail.com>
Link: https://lore.kernel.org/r/20240826001724.274811-6-tdavies@darkphysics.netSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 966ae15a
......@@ -510,7 +510,7 @@ static u8 _rtl92e_phy_set_sw_chnl_cmd_array(struct net_device *dev,
struct sw_chnl_cmd *CmdTable,
u32 CmdTableIdx, u32 CmdTableSz,
enum sw_chnl_cmd_id cmd_id,
u32 Para1, u32 Para2, u32 msDelay)
u32 Para1, u32 Para2, u32 ms_delay)
{
struct sw_chnl_cmd *pCmd;
......@@ -527,7 +527,7 @@ static u8 _rtl92e_phy_set_sw_chnl_cmd_array(struct net_device *dev,
pCmd->cmd_id = cmd_id;
pCmd->Para1 = Para1;
pCmd->Para2 = Para2;
pCmd->msDelay = msDelay;
pCmd->ms_delay = ms_delay;
return true;
}
......@@ -645,7 +645,7 @@ static u8 _rtl92e_phy_switch_channel_step(struct net_device *dev, u8 channel,
} while (true);
} /*for (Number of RF paths)*/
(*delay) = CurrentCmd->msDelay;
(*delay) = CurrentCmd->ms_delay;
(*step)++;
return false;
}
......
......@@ -166,7 +166,7 @@ struct sw_chnl_cmd {
enum sw_chnl_cmd_id cmd_id;
u32 Para1;
u32 Para2;
u32 msDelay;
u32 ms_delay;
};
/*--------------------------Define -------------------------------------------*/
......
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