Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bfa4b0fe authored by Malcolm Priestley's avatar Malcolm Priestley Committed by Greg Kroah-Hartman
Browse files

staging: vt6655: device_init_registers remove uConnectionRate



The device starts up with a default rate of 54M

Signed-off-by: default avatarMalcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent ac875c17
Loading
Loading
Loading
Loading
+1 −4
Original line number Original line Diff line number Diff line
@@ -456,10 +456,7 @@ static void device_init_registers(struct vnt_private *pDevice)


	/* Set BB and packet type at the same time. */
	/* Set BB and packet type at the same time. */
	/* Set Short Slot Time, xIFS, and RSPINF. */
	/* Set Short Slot Time, xIFS, and RSPINF. */
	if (pDevice->uConnectionRate == RATE_AUTO)
	pDevice->wCurrentRate = RATE_54M;
	pDevice->wCurrentRate = RATE_54M;
	else
		pDevice->wCurrentRate = (unsigned short)pDevice->uConnectionRate;


	pDevice->bRadioOff = false;
	pDevice->bRadioOff = false;