wl12xx: removed chipset interrupt source configuration from fw wakeup
authorJuuso Oikarinen <juuso.oikarinen@nokia.com>
Fri, 12 Jun 2009 11:15:13 +0000 (14:15 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 10 Jul 2009 18:57:45 +0000 (14:57 -0400)
The chipset source interrupt source configuration during fw wakeup was
blocking interrupts on the wl1271. The configuration is effectively
unused here as it is used to trigger an interrupt for the chipset
wake-up event, which is not handled, or waited for, in the fw wakeup
anyway on either wl1251 or wl1271.

Signed-off-by: Juuso Oikarinen <juuso.oikarinen@nokia.com>
Signed-off-by: Luciano Coelho <luciano.coelho@nokia.com>
Signed-off-by: Kalle Valo <kalle.valo@nokia.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/wl12xx/main.c

index 3c6cd774192ddbd0ba2712e9f630ad9adb4cef9e..950c4257f421026fb6a915462eed959e8989fc1f 100644 (file)
@@ -157,8 +157,6 @@ static void wl12xx_fw_wakeup(struct wl12xx *wl)
 
        if (!(elp_reg & ELPCTRL_WLAN_READY)) {
                wl12xx_warning("WLAN not ready");
-               elp_reg = ELPCTRL_WAKE_UP_WLAN_READY;
-               wl12xx_write32(wl, HW_ACCESS_ELP_CTRL_REG_ADDR, elp_reg);
        }
 }