wlcore: move handling from hardirq to the irq thread function