From: Malcolm Priestley Date: Wed, 5 Nov 2014 21:08:55 +0000 (+0000) Subject: staging: vt6655: device_init_registers remove uConnectionRate X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=bfa4b0febd598546ace2082efbd119531eb09ecf;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.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 adcd6c804c25..4744cf382914 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;