From: Ben Hutchings Date: Sat, 26 Apr 2014 20:59:04 +0000 (+0100) Subject: rtl8192cu: Fix unbalanced irq enable in error path of rtl92cu_hw_init() X-Git-Tag: v4.9.8~6321^2~20^2^2~9 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3234f5b06fc3094176a86772cc64baf3decc98fc;p=platform%2Fkernel%2Flinux-rpi3.git rtl8192cu: Fix unbalanced irq enable in error path of rtl92cu_hw_init() Fixes: a53268be0cb9 ('rtlwifi: rtl8192cu: Fix too long disable of IRQs') Cc: stable@vger.kernel.org Signed-off-by: Ben Hutchings Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/rtlwifi/rtl8192cu/hw.c b/drivers/net/wireless/rtlwifi/rtl8192cu/hw.c index 68b5c7e..07cb06d 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) {