From: Malcolm Priestley Date: Mon, 19 May 2014 19:33:03 +0000 (+0100) Subject: staging: vt6656: clean up BBvSetAntennaMode. X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=efe40c09b82c80f75b546443e187fdebf2308681;p=openwrt%2Fstaging%2Fblogic.git staging: vt6656: clean up BBvSetAntennaMode. white space clean up. Signed-off-by: Malcolm Priestley Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/vt6656/baseband.c b/drivers/staging/vt6656/baseband.c index 0bdc81495760..5e2ffab42e56 100644 --- a/drivers/staging/vt6656/baseband.c +++ b/drivers/staging/vt6656/baseband.c @@ -869,25 +869,21 @@ void BBvCalculateParameter(struct vnt_private *priv, u32 frame_length, */ void BBvSetAntennaMode(struct vnt_private *pDevice, u8 byAntennaMode) { - switch (byAntennaMode) { - case ANT_TXA: - case ANT_TXB: - break; - case ANT_RXA: - pDevice->byBBRxConf &= 0xFC; - break; - case ANT_RXB: - pDevice->byBBRxConf &= 0xFE; - pDevice->byBBRxConf |= 0x02; - break; - } + switch (byAntennaMode) { + case ANT_TXA: + case ANT_TXB: + break; + case ANT_RXA: + pDevice->byBBRxConf &= 0xFC; + break; + case ANT_RXB: + pDevice->byBBRxConf &= 0xFE; + pDevice->byBBRxConf |= 0x02; + break; + } - CONTROLnsRequestOut(pDevice, - MESSAGE_TYPE_SET_ANTMD, - (u16) byAntennaMode, - 0, - 0, - NULL); + CONTROLnsRequestOut(pDevice, MESSAGE_TYPE_SET_ANTMD, + (u16)byAntennaMode, 0, 0, NULL); } /*