Commit bee7b68a authored by Malcolm Priestley's avatar Malcolm Priestley Committed by Greg Kroah-Hartman

staging: vt6656: camel case clean up MACvSetBBType

Camel case changes
pDevice -> priv
byType -> type
pbyData -> data
Signed-off-by: default avatarMalcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 88eee075
......@@ -77,20 +77,15 @@ void MACbShutdown(struct vnt_private *priv)
CONTROLnsRequestOut(priv, MESSAGE_TYPE_MACSHUTDOWN, 0, 0, 0, NULL);
}
void MACvSetBBType(struct vnt_private *pDevice, u8 byType)
void MACvSetBBType(struct vnt_private *priv, u8 type)
{
u8 pbyData[2];
u8 data[2];
pbyData[0] = byType;
pbyData[1] = EnCFG_BBType_MASK;
data[0] = type;
data[1] = EnCFG_BBType_MASK;
CONTROLnsRequestOut(pDevice,
MESSAGE_TYPE_WRITE_MASK,
MAC_REG_ENCFG0,
MESSAGE_REQUEST_MACREG,
ARRAY_SIZE(pbyData),
pbyData
);
CONTROLnsRequestOut(priv, MESSAGE_TYPE_WRITE_MASK, MAC_REG_ENCFG0,
MESSAGE_REQUEST_MACREG, ARRAY_SIZE(data), data);
}
/*
......
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