projects
/
mech_eap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee0ad45
)
mesh: Write close reason from Mesh Peering Close to debug log
author
Jouni Malinen
<j@w1.fi>
Tue, 28 Jun 2016 19:44:28 +0000
(22:44 +0300)
committer
Jouni Malinen
<j@w1.fi>
Tue, 28 Jun 2016 19:44:28 +0000
(22:44 +0300)
This makes it a bit easier to understand the debug log entries related
to tearing down a mesh connection.
Signed-off-by: Jouni Malinen <j@w1.fi>
wpa_supplicant/mesh_mpm.c
patch
|
blob
|
history
diff --git
a/wpa_supplicant/mesh_mpm.c
b/wpa_supplicant/mesh_mpm.c
index
8f327d8
..
f445b6c
100644
(file)
--- a/
wpa_supplicant/mesh_mpm.c
+++ b/
wpa_supplicant/mesh_mpm.c
@@
-1113,6
+1113,10
@@
void mesh_mpm_action_rx(struct wpa_supplicant *wpa_s,
llid = WPA_GET_LE16(peer_mgmt_ie.plid);
wpa_printf(MSG_DEBUG, "MPM: plid=0x%x llid=0x%x", plid, llid);
+ if (action_field == PLINK_CLOSE)
+ wpa_printf(MSG_DEBUG, "MPM: close reason=%u",
+ WPA_GET_LE16(peer_mgmt_ie.reason));
+
sta = ap_get_sta(hapd, mgmt->sa);
/*