mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-23 09:09:36 +07:00
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: Andy Spencer <andy753421@ucla.edu> Acked-by: Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
b59d45e749
commit
ab1796ebda
@ -511,7 +511,7 @@ static int _rtl92cu_init_power_on(struct ieee80211_hw *hw)
|
|||||||
pr_info("MAC auto ON okay!\n");
|
pr_info("MAC auto ON okay!\n");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (pollingCount++ > 100) {
|
if (pollingCount++ > 1000) {
|
||||||
RT_TRACE(rtlpriv, COMP_INIT, DBG_EMERG,
|
RT_TRACE(rtlpriv, COMP_INIT, DBG_EMERG,
|
||||||
"Failed to polling REG_APS_FSMCO[APFM_ONMAC] done!\n");
|
"Failed to polling REG_APS_FSMCO[APFM_ONMAC] done!\n");
|
||||||
return -ENODEV;
|
return -ENODEV;
|
||||||
|
Loading…
Reference in New Issue
Block a user