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)
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>

No differences found