summaryrefslogtreecommitdiff
authorRongjun Chen <rongjun.chen@amlogic.com>2018-01-30 06:16:23 (GMT)
committer Rongjun Chen <rongjun.chen@amlogic.com>2018-01-30 07:50:14 (GMT)
commit1963534ed297e22a1effa9f122bfe859904886ca (patch)
treefcf2e8adc80466517aa8a92cacdfeaff7d1fa3fd
parentc979b6e5c245c5a95bedb15781ca3bf52f21d7c1 (diff)
download8822bu-p-tv-atom.zip
8822bu-p-tv-atom.tar.gz
8822bu-p-tv-atom.tar.bz2
wifi: fix wifi connect ap issue
PD# 158604 fix wifi connect issue Change-Id: I64565a8997b4769fc1801a4c0154bd9c55a6ad57 Signed-off-by: Rongjun Chen <rongjun.chen@amlogic.com>
Diffstat
-rw-r--r--rtl8822BU/include/rtw_version.h2
-rwxr-xr-xrtl8822BU/os_dep/linux/ioctl_cfg80211.h6
2 files changed, 6 insertions, 2 deletions
diff --git a/rtl8822BU/include/rtw_version.h b/rtl8822BU/include/rtw_version.h
index 05d3e9c..ae11ce9 100644
--- a/rtl8822BU/include/rtw_version.h
+++ b/rtl8822BU/include/rtw_version.h
@@ -1,2 +1,2 @@
-#define DRIVERVERSION "v5.2.4.4_25643.20171212_COEX20171012-5044"
+#define DRIVERVERSION "v5.2.4.4_25643.20171212_COEX20171012-5044_WIFIBOX_1192"
#define BTCOEXVERSION "COEX20171012-5044"
diff --git a/rtl8822BU/os_dep/linux/ioctl_cfg80211.h b/rtl8822BU/os_dep/linux/ioctl_cfg80211.h
index 4ef82a7..9289247 100755
--- a/rtl8822BU/os_dep/linux/ioctl_cfg80211.h
+++ b/rtl8822BU/os_dep/linux/ioctl_cfg80211.h
@@ -17,7 +17,11 @@
#ifndef RTW_CFG80211_ALWAYS_INFORM_STA_DISCONNECT_EVENT
- #define RTW_CFG80211_ALWAYS_INFORM_STA_DISCONNECT_EVENT 0
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 2, 0))
+#define RTW_CFG80211_ALWAYS_INFORM_STA_DISCONNECT_EVENT 1
+#else
+#define RTW_CFG80211_ALWAYS_INFORM_STA_DISCONNECT_EVENT 0
+#endif
#endif
#if defined(RTW_USE_CFG80211_STA_EVENT)