p54: move statistic timer update routine into a workqueue
authorChristian Lamparter <chunkeey@web.de>
Sat, 13 Dec 2008 13:14:20 +0000 (14:14 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 19 Dec 2008 20:23:11 +0000 (15:23 -0500)
commit54fdb040b4760d5b2994d15c1371e297679420e9
treee287e40aa879482c9509cf4e3abe30af05efe4d6
parentd5e490362feb648048ef20db9b0b2531d5425775
p54: move statistic timer update routine into a workqueue

This patch moves a good chunk of code from the former statistic update
timer routine into a workqueue, which is kindly provided by mac80211.

Also as a nice side-effect we can lay the foundation for other
essential housekeeping features we want to do in the future.
e.g:
 - drain the (clogged) tx_queue.
 - initiate bursts.

Signed-off-by: Christian Lamparter <chunkeey@web.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/p54/p54.h
drivers/net/wireless/p54/p54common.c
drivers/net/wireless/p54/p54common.h