lkml.org 
[lkml]   [2009]   [Nov]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 03/41] rt2800usb: fix rt2800usb_rfcsr_read()
Date
On Wednesday 04 November 2009, Bartlomiej Zolnierkiewicz wrote:
> From: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
> Subject: [PATCH] rt2800usb: fix rt2800usb_rfcsr_read()
>
> The driver should write the read request into RF_CSR_CFG register
> and not BBP_CSR_CFG one in rt2800usb_rfcsr_read().
>
> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>

Acked-by: Ivo van Doorn <IvDoorn@gmail.com>

> ---
> drivers/net/wireless/rt2x00/rt2800usb.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> Index: b/drivers/net/wireless/rt2x00/rt2800usb.c
> ===================================================================
> --- a/drivers/net/wireless/rt2x00/rt2800usb.c
> +++ b/drivers/net/wireless/rt2x00/rt2800usb.c
> @@ -167,7 +167,7 @@ static void rt2800usb_rfcsr_read(struct
> rt2x00_set_field32(&reg, RF_CSR_CFG_WRITE, 0);
> rt2x00_set_field32(&reg, RF_CSR_CFG_BUSY, 1);
>
> - rt2x00usb_register_write_lock(rt2x00dev, BBP_CSR_CFG, reg);
> + rt2x00usb_register_write_lock(rt2x00dev, RF_CSR_CFG, reg);
>
> WAIT_FOR_RFCSR(rt2x00dev, &reg);
> }
>




\
 
 \ /
  Last update: 2009-11-05 19:45    [W:0.469 / U:0.052 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site