mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-12 13:55:32 +00:00
staging: vt6656: set BBvSetVGAGainOffset inside vnt_set_bss_mode
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>
This commit is contained in:
parent
d35d5fbb36
commit
d3584775e9
2 changed files with 2 additions and 5 deletions
|
@ -825,4 +825,6 @@ void vnt_set_bss_mode(struct vnt_private *priv)
|
|||
priv->abyBBVGA[2] = 0x0;
|
||||
priv->abyBBVGA[3] = 0x0;
|
||||
}
|
||||
|
||||
BBvSetVGAGainOffset(priv, priv->abyBBVGA[0]);
|
||||
}
|
||||
|
|
|
@ -440,11 +440,6 @@ static int device_init_registers(struct vnt_private *pDevice)
|
|||
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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue