1
0
mirror of https://github.com/abperiasamy/rtl8812AU_8821AU_linux.git synced 2025-04-29 15:19:40 +02:00

fix ISO C90 forbids mixed declarations and code (#279)

This commit is contained in:
masa23 2019-01-14 22:07:00 +09:00 committed by Harshavardhana
parent 076ac48d94
commit fb91faf610

View File

@ -3330,8 +3330,8 @@ void rtw_cfg80211_indicate_sta_assoc(_adapter *padapter, u8 *pmgmt_frame, uint f
#if defined(RTW_USE_CFG80211_STA_EVENT) || defined(COMPAT_KERNEL_RELEASE)
{
struct station_info sinfo;
_rtw_memset(&sinfo, 0, sizeof(struct station_info));
u8 ie_offset;
_rtw_memset(&sinfo, 0, sizeof(struct station_info));
if (GetFrameSubType(pmgmt_frame) == WIFI_ASSOCREQ)
ie_offset = _ASOCREQ_IE_OFFSET_;
else // WIFI_REASSOCREQ