|
@@ -1,6 +1,6 @@
|
|
|
/*
|
|
|
* hostapd / Initialization and configuration
|
|
|
- * Copyright (c) 2002-2012, Jouni Malinen <j@w1.fi>
|
|
|
+ * Copyright (c) 2002-2013, Jouni Malinen <j@w1.fi>
|
|
|
*
|
|
|
* This software may be distributed under the terms of the BSD license.
|
|
|
* See README for more details.
|
|
@@ -11,6 +11,7 @@
|
|
|
#include "utils/common.h"
|
|
|
#include "utils/eloop.h"
|
|
|
#include "common/ieee802_11_defs.h"
|
|
|
+#include "common/wpa_ctrl.h"
|
|
|
#include "radius/radius_client.h"
|
|
|
#include "radius/radius_das.h"
|
|
|
#include "drivers/driver.h"
|
|
@@ -1156,6 +1157,7 @@ int hostapd_setup_interface_complete(struct hostapd_iface *iface, int err)
|
|
|
}
|
|
|
|
|
|
hostapd_set_state(iface, HAPD_IFACE_ENABLED);
|
|
|
+ wpa_msg(iface->bss[0]->msg_ctx, MSG_INFO, AP_EVENT_ENABLED);
|
|
|
if (hapd->setup_complete_cb)
|
|
|
hapd->setup_complete_cb(hapd->setup_complete_cb_ctx);
|
|
|
|
|
@@ -1514,6 +1516,7 @@ int hostapd_disable_iface(struct hostapd_iface *hapd_iface)
|
|
|
|
|
|
if (hapd_iface == NULL)
|
|
|
return -1;
|
|
|
+ wpa_msg(hapd_iface->bss[0]->msg_ctx, MSG_INFO, AP_EVENT_DISABLED);
|
|
|
driver = hapd_iface->bss[0]->driver;
|
|
|
drv_priv = hapd_iface->bss[0]->drv_priv;
|
|
|
|