From 918185f6662379f570e29c86c0229d8036ef4fa7 Mon Sep 17 00:00:00 2001 From: Malcolm Priestley Date: Mon, 19 Jan 2015 18:24:13 +0000 Subject: [PATCH] staging: vt6655: device_init_registers alway set initial antenna mode BBvSetTxAntennaMode and BBvSetRxAntennaMode need to be set correcty on start up Signed-off-by: Malcolm Priestley Signed-off-by: Greg Kroah-Hartman --- drivers/staging/vt6655/device_main.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/staging/vt6655/device_main.c b/drivers/staging/vt6655/device_main.c index 0408e912dee4..58559fae7cf1 100644 --- a/drivers/staging/vt6655/device_main.c +++ b/drivers/staging/vt6655/device_main.c @@ -323,6 +323,10 @@ static void device_init_registers(struct vnt_private *pDevice) } } + /* Set initial antenna mode */ + BBvSetTxAntennaMode(pDevice, pDevice->byTxAntennaMode); + BBvSetRxAntennaMode(pDevice, pDevice->byRxAntennaMode); + /* zonetype initial */ pDevice->byOriginalZonetype = pDevice->abyEEPROM[EEP_OFS_ZONETYPE];