提交 4e3af0fa 编写于 作者: M Malcolm Priestley 提交者: Greg Kroah-Hartman

staging: vt6656: vResetCommandTimer remove camel case

pDevice -> priv
Signed-off-by: NMalcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 f7e9ed41
......@@ -207,12 +207,12 @@ int bScheduleCommand(struct vnt_private *priv, CMD_CODE command, u8 *item0)
}
void vResetCommandTimer(struct vnt_private *pDevice)
void vResetCommandTimer(struct vnt_private *priv)
{
pDevice->cbFreeCmdQueue = CMD_Q_SIZE;
pDevice->uCmdDequeueIdx = 0;
pDevice->uCmdEnqueueIdx = 0;
pDevice->eCommandState = WLAN_CMD_IDLE;
pDevice->bCmdRunning = false;
pDevice->bCmdClear = false;
priv->cbFreeCmdQueue = CMD_Q_SIZE;
priv->uCmdDequeueIdx = 0;
priv->uCmdEnqueueIdx = 0;
priv->eCommandState = WLAN_CMD_IDLE;
priv->bCmdRunning = false;
priv->bCmdClear = false;
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册