ath9k: Use lockless variants for the RX fifo queue
authorSujith Manoharan <c_manoha@qca.qualcomm.com>
Tue, 23 Apr 2013 06:52:18 +0000 (12:22 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 23 Apr 2013 18:14:54 +0000 (14:14 -0400)
commit07236bf3c659d1823262c1dabec4fa05990df115
tree3f82ccb90770f650b0b7366136813d330d44a9d8
parente87f3d538e5c3a561ddd97eab02706ff3973e7da
ath9k: Use lockless variants for the RX fifo queue

The RX fifo can be accessed from the common tasklet or it can
be reaped/cleaned when RX is stopped, which is done when doing
a reset or channel change - this happens in process context.

Since it is ensured that there are no pending tasklets when
stopping RX and cleaning the FIFO, there is no need to use
SKB queue functions which take internal locks.

Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Acked-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/recv.c