wl1251: use workqueue provided by mac80211
[safe/jmp/linux-2.6] / drivers / net / wireless / wl12xx / wl1251_sdio.c
index f7e451f..20668e2 100644 (file)
@@ -55,7 +55,7 @@ static void wl1251_sdio_interrupt(struct sdio_func *func)
        wl1251_debug(DEBUG_IRQ, "IRQ");
 
        /* FIXME should be synchronous for sdio */
-       schedule_work(&wl->irq_work);
+       ieee80211_queue_work(wl->hw, &wl->irq_work);
 }
 
 static const struct sdio_device_id wl1251_devices[] = {