From bfbc99c7c338ac5896c07e6cab38e05be1fd5fad Mon Sep 17 00:00:00 2001 From: Icenowy Zheng Date: Tue, 30 Jul 2019 23:45:58 +0800 Subject: [PATCH] ap fill by armbian Signed-off-by: Icenowy Zheng --- os_dep/linux/ioctl_cfg80211.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/os_dep/linux/ioctl_cfg80211.c b/os_dep/linux/ioctl_cfg80211.c index 8251444..302947c 100644 --- a/os_dep/linux/ioctl_cfg80211.c +++ b/os_dep/linux/ioctl_cfg80211.c @@ -3642,6 +3642,9 @@ void rtw_cfg80211_indicate_sta_assoc(_adapter *padapter, u8 *pmgmt_frame, uint f ie_offset = _REASOCREQ_IE_OFFSET_; sinfo.filled = 0; +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 18, 0)) + sinfo.pertid = NULL; +#endif sinfo.filled = STATION_INFO_ASSOC_REQ_IES; sinfo.assoc_req_ies = pmgmt_frame + WLAN_HDR_A3_LEN + ie_offset; sinfo.assoc_req_ies_len = frame_len - WLAN_HDR_A3_LEN - ie_offset;