staging:rtl8192u: Rename msDelay to ms_delay - Style
Rename the member variable msDelay to ms_delay. This change clears the checkpatch issue with CamelCase naming. The change is purely a coding style change which should not impact runtime code execution. Signed-off-by: John Whitmore <johnfwhitmore@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
21807031af
commit
e918443caf
@ -1247,7 +1247,7 @@ static u8 rtl8192_phy_SetSwChnlCmdArray(struct sw_chnl_cmd *CmdTable, u32 CmdTab
|
||||
pCmd->cmd_id = CmdID;
|
||||
pCmd->para_1 = Para1;
|
||||
pCmd->para_2 = Para2;
|
||||
pCmd->msDelay = msDelay;
|
||||
pCmd->ms_delay = msDelay;
|
||||
|
||||
return true;
|
||||
}
|
||||
@ -1365,7 +1365,7 @@ static u8 rtl8192_phy_SwChnlStepByStep(struct net_device *dev, u8 channel,
|
||||
|
||||
if (CurrentCmd->cmd_id == CMD_ID_END) {
|
||||
if ((*stage) == 2) {
|
||||
(*delay) = CurrentCmd->msDelay;
|
||||
(*delay) = CurrentCmd->ms_delay;
|
||||
return true;
|
||||
}
|
||||
(*stage)++;
|
||||
@ -1407,7 +1407,7 @@ static u8 rtl8192_phy_SwChnlStepByStep(struct net_device *dev, u8 channel,
|
||||
break;
|
||||
} while (true);
|
||||
|
||||
(*delay) = CurrentCmd->msDelay;
|
||||
(*delay) = CurrentCmd->ms_delay;
|
||||
(*step)++;
|
||||
return false;
|
||||
}
|
||||
|
@ -22,7 +22,7 @@ struct sw_chnl_cmd {
|
||||
enum switch_chan_cmd_id cmd_id;
|
||||
u32 para_1;
|
||||
u32 para_2;
|
||||
u32 msDelay;
|
||||
u32 ms_delay;
|
||||
} __packed;
|
||||
|
||||
extern u32 rtl819XMACPHY_Array_PG[];
|
||||
|
Loading…
x
Reference in New Issue
Block a user