wlcore: Fix unbalanced interrupts enablement
authorIdo Yariv <ido@wizery.com>
Wed, 15 Aug 2012 15:29:04 +0000 (18:29 +0300)
committerLuciano Coelho <luca@coelho.fi>
Thu, 27 Sep 2012 09:13:53 +0000 (12:13 +0300)
commita8311c8a9a7c41de9cc2d5e1573ff7005b4959ab
tree867585b226094cc098f30b9bd86ac15619029aec
parent792a58a8720f02c8f340583f6ee54c9eb46adf0b
wlcore: Fix unbalanced interrupts enablement

The interrupt line is enabled by wl12xx_enable_interrupts and
wl18xx_enable_interrupts, but it will not be disabled in all failure
paths. Fix this.

Signed-off-by: Ido Yariv <ido@wizery.com>
Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Luciano Coelho <luca@coelho.fi>
drivers/net/wireless/ti/wl12xx/main.c
drivers/net/wireless/ti/wl18xx/main.c