]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit86ddf48075cb0b340285613018953b7b8a22c7d6
tree3f82ccb90770f650b0b7366136813d330d44a9d8
parent30f5e62d66e382ee99f4da05f05fa25cd6d35fba
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