wl1251: use ELP wakeup interrupt instead of polling
[pandora-wifi.git] / drivers / net / wireless / wl12xx / wl1251_sdio.c
index 0228e97..f1dc7ad 100644 (file)
@@ -54,10 +54,8 @@ static void wl1251_sdio_interrupt(struct sdio_func *func)
 {
        struct wl1251 *wl = sdio_get_drvdata(func);
 
-       wl1251_debug(DEBUG_IRQ, "IRQ");
-
        /* FIXME should be synchronous for sdio */
-       ieee80211_queue_work(wl->hw, &wl->irq_work);
+       wl1251_irq(wl);
 }
 
 static const struct sdio_device_id wl1251_devices[] = {
@@ -170,7 +168,7 @@ static irqreturn_t wl1251_line_irq(int irq, void *cookie)
 {
        struct wl1251 *wl = cookie;
 
-       ieee80211_queue_work(wl->hw, &wl->irq_work);
+       wl1251_irq(wl);
 
        return IRQ_HANDLED;
 }