Enable DFS for 5ghz support

This commit is contained in:
kimocoder 2019-08-16 23:27:14 +02:00
parent 0a4ce9dddc
commit 4d95fe8727
2 changed files with 2 additions and 4 deletions

View File

@ -44,9 +44,6 @@
#define RATE_ADAPTIVE_SUPPORT 0 #define RATE_ADAPTIVE_SUPPORT 0
#define POWER_TRAINING_ACTIVE 0 #define POWER_TRAINING_ACTIVE 0
#ifdef CONFIG_MULTIDRV
#endif
#ifdef CONFIG_RTL8188E #ifdef CONFIG_RTL8188E
#undef RTL8188E_SUPPORT #undef RTL8188E_SUPPORT
#undef RATE_ADAPTIVE_SUPPORT #undef RATE_ADAPTIVE_SUPPORT
@ -60,6 +57,7 @@
#ifdef CONFIG_RTL8812A #ifdef CONFIG_RTL8812A
#undef RTL8812A_SUPPORT #undef RTL8812A_SUPPORT
#define RTL8812A_SUPPORT 1 #define RTL8812A_SUPPORT 1
#define CONFIG_DFS /* Enable 5G band 2&3 channel */
#ifndef CONFIG_FW_C2H_PKT #ifndef CONFIG_FW_C2H_PKT
#define CONFIG_FW_C2H_PKT #define CONFIG_FW_C2H_PKT
#endif #endif

View File

@ -1125,7 +1125,7 @@ static int rtw_resume(struct usb_interface *pusb_intf)
#ifdef CONFIG_AUTOSUSPEND #ifdef CONFIG_AUTOSUSPEND
if (pwrpriv->bInternalAutoSuspend) if (pwrpriv->bInternalAutoSuspend)
ret = rtw_resume_process(padapter); ret = rtw_resume_process(padapter);
else else
#endif #endif
{ {
if (pwrpriv->wowlan_mode || pwrpriv->wowlan_ap_mode) { if (pwrpriv->wowlan_mode || pwrpriv->wowlan_ap_mode) {