aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/events.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2015-09-05 17:40:44 (GMT)
committerJouni Malinen <j@w1.fi>2015-09-05 17:40:44 (GMT)
commitdcc8bc82e088b1253f16c2e302b767fb33525db3 (patch)
tree66f29628369bdc77edb5b7ea59d2023447d7bfdb /wpa_supplicant/events.c
parent5c92d474e67729d58c35bcfd9f2b3f6b3b211d7d (diff)
downloadhostap-dcc8bc82e088b1253f16c2e302b767fb33525db3.zip
hostap-dcc8bc82e088b1253f16c2e302b767fb33525db3.tar.gz
hostap-dcc8bc82e088b1253f16c2e302b767fb33525db3.tar.bz2
Add BSS operating frequency to more debug messages
This makes it easier to analyze debug logs when figuring out channel related issues. Signed-off-by: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'wpa_supplicant/events.c')
-rw-r--r--wpa_supplicant/events.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/wpa_supplicant/events.c b/wpa_supplicant/events.c
index 4f082d2..0777a56 100644
--- a/wpa_supplicant/events.c
+++ b/wpa_supplicant/events.c
@@ -828,9 +828,9 @@ static struct wpa_ssid * wpa_scan_res_match(struct wpa_supplicant *wpa_s,
osen = ie != NULL;
wpa_dbg(wpa_s, MSG_DEBUG, "%d: " MACSTR " ssid='%s' "
- "wpa_ie_len=%u rsn_ie_len=%u caps=0x%x level=%d%s%s%s",
+ "wpa_ie_len=%u rsn_ie_len=%u caps=0x%x level=%d freq=%d %s%s%s",
i, MAC2STR(bss->bssid), wpa_ssid_txt(bss->ssid, bss->ssid_len),
- wpa_ie_len, rsn_ie_len, bss->caps, bss->level,
+ wpa_ie_len, rsn_ie_len, bss->caps, bss->level, bss->freq,
wpa_bss_get_vendor_ie(bss, WPS_IE_VENDOR_TYPE) ? " wps" : "",
(wpa_bss_get_vendor_ie(bss, P2P_IE_VENDOR_TYPE) ||
wpa_bss_get_vendor_ie_beacon(bss, P2P_IE_VENDOR_TYPE)) ?