staging: vt6655: device_init_registers remove uConnectionRate

The device starts up with a default rate of 54M

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Malcolm Priestley 2014-11-05 21:08:55 +00:00 committed by Greg Kroah-Hartman
parent ac875c17a1
commit bfa4b0febd

View File

@ -456,10 +456,7 @@ static void device_init_registers(struct vnt_private *pDevice)
/* Set BB and packet type at the same time. */
/* Set Short Slot Time, xIFS, and RSPINF. */
if (pDevice->uConnectionRate == RATE_AUTO)
pDevice->wCurrentRate = RATE_54M;
else
pDevice->wCurrentRate = (unsigned short)pDevice->uConnectionRate;
pDevice->wCurrentRate = RATE_54M;
pDevice->bRadioOff = false;