ap fill by armbian

Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
This commit is contained in:
Icenowy Zheng 2019-07-30 23:45:58 +08:00
parent 6669517a16
commit bfbc99c7c3

View file

@ -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;