rtlwifi: rtl8821ae: Fix lockups on boot
authorLarry Finger <Larry.Finger@lwfinger.net>
Tue, 10 Nov 2015 16:46:11 +0000 (10:46 -0600)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 17 Nov 2015 13:58:53 +0000 (15:58 +0200)
commiteeec5d0ef7ee54a75e09e861c3cc44177b8752c7
treebab795a65608ac7c4caa255db278fcea8ca49833
parentcecd4cfb540ed627fba81a0c4d92e205ed8314e6
rtlwifi: rtl8821ae: Fix lockups on boot

In commit 54328e64047a5 ("rtlwifi: rtl8821ae: Fix system lockups on boot"),
an attempt was made to fix a regression introduced in commit 1277fa2ab2f9
("rtlwifi: Remove the clear interrupt routine from all drivers").
Unfortunately, there were logic errors in that patch that prevented
affected boxes from booting even after that patch was applied.

The actual cause of the original problem is unknown as none of the
developers have systems that are affected.

Fixes: 54328e64047a ("rtlwifi: rtl8821ae: Fix system lockups on boot")
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Cc: Stable <stable@vger.kernel.org> [V4.1+]
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c
drivers/net/wireless/realtek/rtlwifi/rtl8821ae/sw.c