wlcore: move handling from hardirq to the irq thread function
authorLuciano Coelho <coelho@ti.com>
Fri, 8 Mar 2013 07:41:53 +0000 (09:41 +0200)
committerLuciano Coelho <coelho@ti.com>
Mon, 25 Mar 2013 10:43:17 +0000 (12:43 +0200)
commit97236a0656034ef8512ded648cfaa3d7282534e8
tree6af9455afa25d70e0f647e76017ea96705de4852
parentda7aa28004d3add74998f3416e70a6f9b3a95dd1
wlcore: move handling from hardirq to the irq thread function

Spin locks and completions are expensive in hard IRQ context and cause
problems with RT kernels.  In RT kernels, both spin locks and
completions can schedule(), so we can't use them in hard irq context.

Move handling code into the irq thread function to avoid that.

Reported-by: Gregoire Gentil <gregoire@alwaysinnovating.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/ti/wlcore/main.c