Rename the member variable CmdId to cmd_id. This change clears the
checkpatch issue with CamelCase naming. The change is purely a coding
style change which should have no impact on runtime code execution.
Signed-off-by: John Whitmore <johnfwhitmore@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
}
pCmd = CmdTable + CmdTableIdx;
- pCmd->CmdID = CmdID;
+ pCmd->cmd_id = CmdID;
pCmd->Para1 = Para1;
pCmd->Para2 = Para2;
pCmd->msDelay = msDelay;
break;
}
- if (CurrentCmd->CmdID == CMD_ID_END) {
+ if (CurrentCmd->cmd_id == CMD_ID_END) {
if ((*stage) == 2) {
(*delay) = CurrentCmd->msDelay;
return true;
continue;
}
- switch (CurrentCmd->CmdID) {
+ switch (CurrentCmd->cmd_id) {
case CMD_ID_SET_TX_PWR_LEVEL:
if (priv->card_8192_version == (u8)VERSION_819xU_A)
/* consider it later! */
/* -----------------------Define structure---------------------- */
/* 1. Switch channel related */
struct sw_chnl_cmd {
- enum switch_chan_cmd_id CmdID;
+ enum switch_chan_cmd_id cmd_id;
u32 Para1;
u32 Para2;
u32 msDelay;