vnt_set_bss_mode changes the state of abyBBVGA so move
BBvSetVGAGainOffset to the function.
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
priv->abyBBVGA[2] = 0x0;
priv->abyBBVGA[3] = 0x0;
}
+
+ BBvSetVGAGainOffset(priv, priv->abyBBVGA[0]);
}
BBvSetShortSlotTime(pDevice);
vnt_set_bss_mode(pDevice);
- pDevice->byBBVGACurrent = pDevice->abyBBVGA[0];
- pDevice->byBBVGANew = pDevice->byBBVGACurrent;
-
- BBvSetVGAGainOffset(pDevice, pDevice->abyBBVGA[0]);
-
pDevice->byRadioCtl = pDevice->abyEEPROM[EEP_OFS_RADIOCTL];
pDevice->bHWRadioOff = false;