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

staging: vt6656: BBvSetAntennaMode remove camel case.

changes
pDevice -> priv
byAntennaMode -> antenna_mode
Signed-off-by: default avatarMalcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent efe40c09
...@@ -859,31 +859,31 @@ void BBvCalculateParameter(struct vnt_private *priv, u32 frame_length, ...@@ -859,31 +859,31 @@ void BBvCalculateParameter(struct vnt_private *priv, u32 frame_length,
* *
* Parameters: * Parameters:
* In: * In:
* pDevice - Device Structure * priv - Device Structure
* byAntennaMode - Antenna Mode * antenna_mode - Antenna Mode
* Out: * Out:
* none * none
* *
* Return Value: none * Return Value: none
* *
*/ */
void BBvSetAntennaMode(struct vnt_private *pDevice, u8 byAntennaMode) void BBvSetAntennaMode(struct vnt_private *priv, u8 antenna_mode)
{ {
switch (byAntennaMode) { switch (antenna_mode) {
case ANT_TXA: case ANT_TXA:
case ANT_TXB: case ANT_TXB:
break; break;
case ANT_RXA: case ANT_RXA:
pDevice->byBBRxConf &= 0xFC; priv->byBBRxConf &= 0xFC;
break; break;
case ANT_RXB: case ANT_RXB:
pDevice->byBBRxConf &= 0xFE; priv->byBBRxConf &= 0xFE;
pDevice->byBBRxConf |= 0x02; priv->byBBRxConf |= 0x02;
break; break;
} }
CONTROLnsRequestOut(pDevice, MESSAGE_TYPE_SET_ANTMD, CONTROLnsRequestOut(priv, MESSAGE_TYPE_SET_ANTMD,
(u16)byAntennaMode, 0, 0, NULL); (u16)antenna_mode, 0, 0, NULL);
} }
/* /*
......
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