From: Malcolm Priestley Date: Wed, 5 Nov 2014 21:08:55 +0000 (+0000) Subject: staging: vt6655: device_init_registers remove uConnectionRate X-Git-Tag: v4.14-rc1~6283^2~422 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bfa4b0febd598546ace2082efbd119531eb09ecf;p=platform%2Fkernel%2Flinux-rpi.git staging: vt6655: device_init_registers remove uConnectionRate The device starts up with a default rate of 54M Signed-off-by: Malcolm Priestley Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/vt6655/device_main.c b/drivers/staging/vt6655/device_main.c index adcd6c8..4744cf3 100644 --- a/drivers/staging/vt6655/device_main.c +++ b/drivers/staging/vt6655/device_main.c @@ -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;