diff options
author | Ben Hutchings <ben@decadent.org.uk> | 2014-04-26 21:59:04 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-06-07 13:25:34 -0700 |
commit | 7ba55415d0cfe7db9cb838871e50cbb22a28f697 (patch) | |
tree | 5097ffa42a3ed1ceac8dad48b5bac1ec2f128051 /drivers/net | |
parent | 4468ae6574c41a73bc3c126b32dfff73538656c7 (diff) | |
download | linux-3.10-7ba55415d0cfe7db9cb838871e50cbb22a28f697.tar.gz linux-3.10-7ba55415d0cfe7db9cb838871e50cbb22a28f697.tar.bz2 linux-3.10-7ba55415d0cfe7db9cb838871e50cbb22a28f697.zip |
rtl8192cu: Fix unbalanced irq enable in error path of rtl92cu_hw_init()
commit 3234f5b06fc3094176a86772cc64baf3decc98fc upstream.
Fixes: a53268be0cb9 ('rtlwifi: rtl8192cu: Fix too long disable of IRQs')
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/wireless/rtlwifi/rtl8192cu/hw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/rtlwifi/rtl8192cu/hw.c b/drivers/net/wireless/rtlwifi/rtl8192cu/hw.c index 324aa581938..c3f2b55501a 100644 --- a/drivers/net/wireless/rtlwifi/rtl8192cu/hw.c +++ b/drivers/net/wireless/rtlwifi/rtl8192cu/hw.c @@ -1001,7 +1001,7 @@ int rtl92cu_hw_init(struct ieee80211_hw *hw) err = _rtl92cu_init_mac(hw); if (err) { RT_TRACE(rtlpriv, COMP_ERR, DBG_EMERG, "init mac failed!\n"); - return err; + goto exit; } err = rtl92c_download_fw(hw); if (err) { |