]> 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)
commitfc503d29e8a8c960614ace1889811132665f95c0
tree3f82ccb90770f650b0b7366136813d330d44a9d8
parentcfe774445ca30fb14ddb1bd1154c1f4ec29a9d1f
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