#include "wl1251_reg.h"
#include "wl1251_spi.h"
-static irqreturn_t wl1251_irq(int irq, void *cookie)
+static irqreturn_t wl1251_line_irq(int irq, void *cookie)
{
- struct wl1251 *wl;
-
- wl1251_debug(DEBUG_IRQ, "IRQ");
-
- wl = cookie;
+ struct wl1251 *wl = cookie;
- ieee80211_queue_work(wl->hw, &wl->irq_work);
+ wl1251_irq(wl);
return IRQ_HANDLED;
}
wl->use_eeprom = pdata->use_eeprom;
- ret = request_irq(wl->irq, wl1251_irq, 0, DRIVER_NAME, wl);
+ ret = request_irq(wl->irq, wl1251_line_irq, 0, DRIVER_NAME, wl);
if (ret < 0) {
wl1251_error("request_irq() failed: %d", ret);
goto out_free;