Commit e918443c authored by John Whitmore's avatar John Whitmore Committed by Greg Kroah-Hartman
Browse files

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: default avatarJohn Whitmore <johnfwhitmore@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 21807031
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -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;
}
+1 −1
Original line number Diff line number Diff line
@@ -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[];