]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
staging: vt6655: device_init_registers remove uConnectionRate
authorMalcolm Priestley <tvboxspy@gmail.com>
Wed, 5 Nov 2014 21:08:55 +0000 (21:08 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Nov 2014 22:49:14 +0000 (14:49 -0800)
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>
drivers/staging/vt6655/device_main.c

index adcd6c804c2590e14afa40e216782a5d32e9929d..4744cf3829147517e06e6acdf373cf1c803139ab 100644 (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;