Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ab1796eb authored by Andy Spencer's avatar Andy Spencer Committed by John W. Linville
Browse files

RTL8192CU: Increase max APFM_ONMAC polling count



With certain hardware combinations the poll interval is exceeded before
initialization completes.

Tested on a MacBookPro10,1 using a Sabrent USB-A11N USB adapter.

Signed-off-by: default avatarAndy Spencer <andy753421@ucla.edu>
Acked-by: default avatarLarry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent b59d45e7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -511,7 +511,7 @@ static int _rtl92cu_init_power_on(struct ieee80211_hw *hw)
			pr_info("MAC auto ON okay!\n");
			break;
		}
		if (pollingCount++ > 100) {
		if (pollingCount++ > 1000) {
			RT_TRACE(rtlpriv, COMP_INIT, DBG_EMERG,
				 "Failed to polling REG_APS_FSMCO[APFM_ONMAC] done!\n");
			return -ENODEV;