mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-11-10 04:42:22 -05:00
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 <[email protected]> Acked-by: Ivo van Doorn <[email protected]> Acked-by: Gertjan van Wingerde <[email protected]> Signed-off-by: John W. Linville <[email protected]>
This commit is contained in:
parent
f44eafa76b
commit
a8ea2b23f6
1 changed files with 1 additions and 1 deletions
|
|
@ -167,7 +167,7 @@ static void rt2800usb_rfcsr_read(struct rt2x00_dev *rt2x00dev,
|
|||
rt2x00_set_field32(®, RF_CSR_CFG_WRITE, 0);
|
||||
rt2x00_set_field32(®, 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, ®);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue