Use a struct ieee80211_mgmt in OnAssocRsp to read elements of the association response message. Martin Kaiser (5): staging: r8188eu: get da from ieee80211_mgmt staging: r8188eu: read status_code from struct ieee80211_mgmt staging: r8188eu: read capability info from struct ieee80211_mgmt staging: r8188eu: read aid from struct ieee80211_mgmt staging: r8188eu: use offsetof for ie start offset drivers/staging/r8188eu/core/rtw_mlme_ext.c | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) -- 2.30.2