aboutsummaryrefslogtreecommitdiffstats
path: root/src/drivers/driver_bsd.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2010-01-03 16:22:22 (GMT)
committerJouni Malinen <j@w1.fi>2010-01-03 16:22:22 (GMT)
commit1d041bec843d55cd6be7be61ba83ddf96c5e2368 (patch)
tree608ecefa4b3841616c3f14edd28df707ec9c3616 /src/drivers/driver_bsd.c
parenta8e0505bf0576ec014149130544a849b3d46e23d (diff)
downloadhostap-1d041bec843d55cd6be7be61ba83ddf96c5e2368.zip
hostap-1d041bec843d55cd6be7be61ba83ddf96c5e2368.tar.gz
hostap-1d041bec843d55cd6be7be61ba83ddf96c5e2368.tar.bz2
Use generic driver event notification for AP mode assoc/disassoc
Diffstat (limited to 'src/drivers/driver_bsd.c')
-rw-r--r--src/drivers/driver_bsd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/drivers/driver_bsd.c b/src/drivers/driver_bsd.c
index 5b232fd..ab01370 100644
--- a/src/drivers/driver_bsd.c
+++ b/src/drivers/driver_bsd.c
@@ -569,7 +569,7 @@ bsd_sta_disassoc(void *priv, const u8 *own_addr, const u8 *addr,
return set80211var(drv, IEEE80211_IOC_MLME, &mlme, sizeof(mlme));
}
-static int
+static void
bsd_new_sta(struct bsd_driver_data *drv, u8 addr[IEEE80211_ADDR_LEN])
{
struct hostapd_data *hapd = drv->hapd;
@@ -594,7 +594,7 @@ bsd_new_sta(struct bsd_driver_data *drv, u8 addr[IEEE80211_ADDR_LEN])
ielen += 2;
no_ie:
- return hostapd_notif_assoc(hapd, addr, iebuf, ielen);
+ drv_event_assoc(hapd, addr, iebuf, ielen);
}
static void
@@ -634,7 +634,7 @@ bsd_wireless_event_receive(int sock, void *ctx, void *sock_ctx)
break;
case RTM_IEEE80211_LEAVE:
leave = (struct ieee80211_leave_event *) &ifan[1];
- hostapd_notif_disassoc(drv->hapd, leave->iev_addr);
+ drv_event_notif_disassoc(drv->hapd, leave->iev_addr);
break;
case RTM_IEEE80211_JOIN:
#ifdef RTM_IEEE80211_REJOIN