Commit 9adc341c authored by Dragan Cvetic's avatar Dragan Cvetic Committed by Greg Kroah-Hartman

staging: rtl8192e: Rename Op, Length and Value

Rename variable Op to op, Length to length and Value to value to avoid
CamelCase which is not accepted by checkpatch.
Signed-off-by: default avatarDragan Cvetic <dragan.m.cvetic@gmail.com>
Tested-by: default avatarPhilipp Hortmann <philipp.g.hortmann@gmail.com>
Link: https://lore.kernel.org/r/20221010190457.13199-4-dragan.m.cvetic@gmail.comSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 2122a86d
...@@ -628,9 +628,9 @@ static void _rtl92e_dm_tx_power_tracking_callback_tssi(struct net_device *dev) ...@@ -628,9 +628,9 @@ static void _rtl92e_dm_tx_power_tracking_callback_tssi(struct net_device *dev)
for (j = 0; j <= 30; j++) { for (j = 0; j <= 30; j++) {
tx_cmd.Op = TXCMD_SET_TX_PWR_TRACKING; tx_cmd.op = TXCMD_SET_TX_PWR_TRACKING;
tx_cmd.Length = 4; tx_cmd.length = 4;
tx_cmd.Value = Value; tx_cmd.value = Value;
rtl92e_send_cmd_pkt(dev, DESC_PACKET_TYPE_NORMAL, (u8 *)&tx_cmd, rtl92e_send_cmd_pkt(dev, DESC_PACKET_TYPE_NORMAL, (u8 *)&tx_cmd,
sizeof(struct dcmd_txcmd)); sizeof(struct dcmd_txcmd));
mdelay(1); mdelay(1);
......
...@@ -152,9 +152,9 @@ enum dm_cck_rx_path_method { ...@@ -152,9 +152,9 @@ enum dm_cck_rx_path_method {
struct dcmd_txcmd { struct dcmd_txcmd {
u32 Op; u32 op;
u32 Length; u32 length;
u32 Value; u32 value;
}; };
/*------------------------------Define structure----------------------------*/ /*------------------------------Define structure----------------------------*/
......
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