rtlwifi: rtl8821ae: Fix lockups on boot
authorLarry Finger <Larry.Finger@lwfinger.net>
Tue, 10 Nov 2015 16:46:11 +0000 (10:46 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 19 Feb 2016 22:28:38 +0000 (14:28 -0800)
commit4a8e6c9fdbd6d22dad15c9b00df569ca93eea515
treea57ae2934fda7a4d8763d90e6f6a3527dd905519
parent5f341b0ae40162d8bb5586fa62b4166cbbd6fdde
rtlwifi: rtl8821ae: Fix lockups on boot

commit eeec5d0ef7ee54a75e09e861c3cc44177b8752c7 upstream.

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>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/wireless/rtlwifi/rtl8821ae/hw.c
drivers/net/wireless/rtlwifi/rtl8821ae/sw.c