aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/mesh_mpm.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2016-01-06 11:13:13 (GMT)
committerJouni Malinen <j@w1.fi>2016-01-06 11:13:13 (GMT)
commit6174de663c2e5ec70f7ebe583a5a05d3ee5dc460 (patch)
treefc4bfb93bcbabd8d2d5231bf46f2336629e0e2f8 /wpa_supplicant/mesh_mpm.c
parent2da4a56f22752f3a2af482111ec29101a65902e0 (diff)
downloadhostap-6174de663c2e5ec70f7ebe583a5a05d3ee5dc460.zip
hostap-6174de663c2e5ec70f7ebe583a5a05d3ee5dc460.tar.gz
hostap-6174de663c2e5ec70f7ebe583a5a05d3ee5dc460.tar.bz2
mesh: Connection and group started/removed events into debug log
The messages were sent out with wpa_msg_ctrl() so they were not visible in the debug log. However, these would be quite helpful strings to search for in the debug log, so change these messages to use wpa_msg(). Signed-off-by: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'wpa_supplicant/mesh_mpm.c')
-rw-r--r--wpa_supplicant/mesh_mpm.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/wpa_supplicant/mesh_mpm.c b/wpa_supplicant/mesh_mpm.c
index 4caa55c..21b908a 100644
--- a/wpa_supplicant/mesh_mpm.c
+++ b/wpa_supplicant/mesh_mpm.c
@@ -715,8 +715,8 @@ static void mesh_mpm_plink_estab(struct wpa_supplicant *wpa_s,
eloop_cancel_timeout(plink_timer, wpa_s, sta);
/* Send ctrl event */
- wpa_msg_ctrl(wpa_s, MSG_INFO, MESH_PEER_CONNECTED MACSTR,
- MAC2STR(sta->addr));
+ wpa_msg(wpa_s, MSG_INFO, MESH_PEER_CONNECTED MACSTR,
+ MAC2STR(sta->addr));
}
@@ -854,9 +854,8 @@ static void mesh_mpm_fsm(struct wpa_supplicant *wpa_s, struct sta_info *sta,
" closed with reason %d",
MAC2STR(sta->addr), reason);
- wpa_msg_ctrl(wpa_s, MSG_INFO,
- MESH_PEER_DISCONNECTED MACSTR,
- MAC2STR(sta->addr));
+ wpa_msg(wpa_s, MSG_INFO, MESH_PEER_DISCONNECTED MACSTR,
+ MAC2STR(sta->addr));
hapd->num_plinks--;