mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-14 02:59:19 -04:00
staging: vt6656: camel case clean up MACvEnableProtectMD
Camel case changes pDevice -> priv pbyData -> data Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
1195200fff
commit
a7ecb9d3ea
@@ -220,20 +220,15 @@ void MACvWriteBSSIDAddress(struct vnt_private *priv, u8 *addr)
|
||||
MESSAGE_REQUEST_MACREG, ETH_ALEN, addr);
|
||||
}
|
||||
|
||||
void MACvEnableProtectMD(struct vnt_private *pDevice)
|
||||
void MACvEnableProtectMD(struct vnt_private *priv)
|
||||
{
|
||||
u8 pbyData[2];
|
||||
u8 data[2];
|
||||
|
||||
pbyData[0] = EnCFG_ProtectMd;
|
||||
pbyData[1] = EnCFG_ProtectMd;
|
||||
data[0] = EnCFG_ProtectMd;
|
||||
data[1] = EnCFG_ProtectMd;
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
void MACvDisableProtectMD(struct vnt_private *pDevice)
|
||||
|
||||
Reference in New Issue
Block a user