mirror of https://gitee.com/openkylin/linux.git
staging: vt6656: camel case clean up MACvDisableBarkerPreambleMd
camel case changes pDevice -> priv phyData -> data Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
23cde77f5a
commit
67933f4257
|
@ -253,20 +253,15 @@ void MACvEnableBarkerPreambleMd(struct vnt_private *priv)
|
||||||
MAC_REG_ENCFG2, MESSAGE_REQUEST_MACREG, ARRAY_SIZE(data), data);
|
MAC_REG_ENCFG2, MESSAGE_REQUEST_MACREG, ARRAY_SIZE(data), data);
|
||||||
}
|
}
|
||||||
|
|
||||||
void MACvDisableBarkerPreambleMd(struct vnt_private *pDevice)
|
void MACvDisableBarkerPreambleMd(struct vnt_private *priv)
|
||||||
{
|
{
|
||||||
u8 pbyData[2];
|
u8 data[2];
|
||||||
|
|
||||||
pbyData[0] = 0;
|
data[0] = 0;
|
||||||
pbyData[1] = EnCFG_BarkerPream;
|
data[1] = EnCFG_BarkerPream;
|
||||||
|
|
||||||
CONTROLnsRequestOut(pDevice,
|
CONTROLnsRequestOut(priv, MESSAGE_TYPE_WRITE_MASK,
|
||||||
MESSAGE_TYPE_WRITE_MASK,
|
MAC_REG_ENCFG2, MESSAGE_REQUEST_MACREG, ARRAY_SIZE(data), data);
|
||||||
MAC_REG_ENCFG2,
|
|
||||||
MESSAGE_REQUEST_MACREG,
|
|
||||||
ARRAY_SIZE(pbyData),
|
|
||||||
pbyData
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void MACvWriteBeaconInterval(struct vnt_private *pDevice, u16 wInterval)
|
void MACvWriteBeaconInterval(struct vnt_private *pDevice, u16 wInterval)
|
||||||
|
|
Loading…
Reference in New Issue