{
struct hostapd_data *hapd = drv->hapd;
struct ieee80211req_wpaie ie;
- int new_assoc, ielen = 0, res;
+ int ielen = 0;
u8 *iebuf = NULL;
/*
else
ielen += 2;
+no_ie:
return hostapd_notif_assoc(hapd, addr, iebuf, ielen);
}
break;
case RTM_IEEE80211_LEAVE:
leave = (struct ieee80211_leave_event *) &ifan[1];
- hostapd_notif_disassoc(drv, leave->iev_addr);
+ hostapd_notif_disassoc(drv->hapd, leave->iev_addr);
break;
case RTM_IEEE80211_JOIN:
#ifdef RTM_IEEE80211_REJOIN