rt2x00: Add rt2800_wait_csr_ready
authorIvo van Doorn <ivdoorn@gmail.com>
Mon, 30 Aug 2010 19:13:08 +0000 (21:13 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 31 Aug 2010 18:22:23 +0000 (14:22 -0400)
commit5ffddc498c700bb45ea55efc37746cb28d601766
treed3e49481b043ac1822142509147245bac45eb244
parent2035c0cf8f637e88cdd338c15570a7ad42afc552
rt2x00: Add rt2800_wait_csr_ready

Similar to rt2800_wait_wpdma_ready() we can add a
function to waiting until the CSR is ready. This
centralizes some additional code into rt2800lib.

Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2800lib.c
drivers/net/wireless/rt2x00/rt2800lib.h
drivers/net/wireless/rt2x00/rt2800usb.c