Add NOTE control interface command for hostapd
This does the same as the matching command in wpa_supplicant, i.e., add a note in the debug log. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
parent
2f37387812
commit
f6de72534e
1 changed files with 2 additions and 0 deletions
|
@ -2788,6 +2788,8 @@ static int hostapd_ctrl_iface_receive_process(struct hostapd_data *hapd,
|
||||||
} else if (os_strncmp(buf, "RELOG", 5) == 0) {
|
} else if (os_strncmp(buf, "RELOG", 5) == 0) {
|
||||||
if (wpa_debug_reopen_file() < 0)
|
if (wpa_debug_reopen_file() < 0)
|
||||||
reply_len = -1;
|
reply_len = -1;
|
||||||
|
} else if (os_strncmp(buf, "NOTE ", 5) == 0) {
|
||||||
|
wpa_printf(MSG_INFO, "NOTE: %s", buf + 5);
|
||||||
} else if (os_strcmp(buf, "STATUS") == 0) {
|
} else if (os_strcmp(buf, "STATUS") == 0) {
|
||||||
reply_len = hostapd_ctrl_iface_status(hapd, reply,
|
reply_len = hostapd_ctrl_iface_status(hapd, reply,
|
||||||
reply_size);
|
reply_size);
|
||||||
|
|
Loading…
Reference in a new issue