Neighbor List: log at more appropriate levels.
Should help track down b/19955918
Change-Id: I66caf9b3996f520f6463c790bd840d30d696fcec
diff --git a/src/ap/rm.c b/src/ap/rm.c
index 5da8d90..4c9279e 100644
--- a/src/ap/rm.c
+++ b/src/ap/rm.c
@@ -130,10 +130,10 @@
len = (u8 *)&elements[num_aps] - buf;
hostapd_logger(hapd, m->da, HOSTAPD_MODULE_IEEE80211,
- HOSTAPD_LEVEL_DEBUG, "sending Neighbor List with %d APs",
+ HOSTAPD_LEVEL_NOTICE, "sending Neighbor List with %d APs",
num_aps);
if (hostapd_drv_send_mlme(hapd, m, len, 0) < 0)
- wpa_printf(MSG_INFO, "rm_send_neighbor_report: send failed");
+ wpa_printf(MSG_WARNING, "rm_send_neighbor_report: send failed");
}
@@ -150,7 +150,7 @@
/* Check that the request comes from a valid station. */
if (!sta || !(sta->flags & WLAN_STA_ASSOC)) {
hostapd_logger(hapd, mgmt->sa, HOSTAPD_MODULE_IEEE80211,
- HOSTAPD_LEVEL_DEBUG,
+ HOSTAPD_LEVEL_NOTICE,
"rm action received is not from an associated "
"station");
/* TODO: respond with action frame refused status code */
@@ -166,7 +166,7 @@
}
hostapd_logger(hapd, mgmt->sa, HOSTAPD_MODULE_IEEE80211,
- HOSTAPD_LEVEL_DEBUG,
+ HOSTAPD_LEVEL_INFO,
"hostapd_rm_action - unknown action code %d",
action_code);
}