]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k: trivial: reorder rx_tasklet processing
authorZefir Kurtisi <zefir.kurtisi@neratec.com>
Wed, 16 Nov 2011 10:09:44 +0000 (11:09 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 21 Nov 2011 21:20:42 +0000 (16:20 -0500)
commit2670fff3bf544645c52ee94a3ad9c963546e29f3
tree5161bed1395ba78f7da455ce48adf4658b201438
parent783e4695a00aa2833ff97da27783e9a1ba9d57b6
ath9k: trivial: reorder rx_tasklet processing

DFS events are reported as PHY errors and need to be processed
with a correct timestamp set before ath9k_skb_preprocess() is
called and the frame is possibly dropped.

This patch puts the rxs->mactime calculation before the skb
is preprocessed to prepare for DFS event reporting.

Signed-off-by: Zefir Kurtisi <zefir.kurtisi@neratec.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/recv.c