环境说明
系统:Centos7 (3.10.0)
驱动版本:00014996-RTL8192EU_linux_v5.6.3.1_34030_COEX20171113-0047.20190613.zip
网卡:Realtek RTL8192EU
错误log
rtl8192EU_WiFi_linux_v5.6.3.1_34030.20190613_COEX20171113-0047/os_dep/linux/ioctl_cfg80211.c:1025:2: error: too few arguments to function ‘cfg80211_ibss_joined’
cfg80211_ibss_joined(padapter->pnetdev, cur_network->network.MacAddress, GFP_ATOMIC);
解决方案
修改ioctl_cfg80211.c
@@ -1015,7 +1025,7 @@
RTW_PRINT(FUNC_ADPT_FMT" BSS not found !!\n", FUNC_ADPT_ARG(padapter));
}
/* notify cfg80211 that device joined an IBSS */
-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 15, 0))
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 10, 0)) //change by wellnw 20211213
freq = rtw_ch2freq(cur_network->network.Configuration.DSConfig);
if (1)
RTW_INFO("chan: %d, freq: %d\n", cur_network->network.Configuration.DSConfig, freq);