From: Jouni Malinen Date: Sat, 8 Mar 2014 09:21:58 +0000 (+0200) Subject: Enable RADIUS message dumps with excessive debug verbosity X-Git-Tag: hostap_2_2~643 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ec33bc67f8a86df2fc957d2b9dee15347567ca2f;p=thirdparty%2Fhostap.git Enable RADIUS message dumps with excessive debug verbosity Previously, this was enabled only at msgdump verbosity level, but any level that is more verbose than it should also be included. Signed-off-by: Jouni Malinen --- diff --git a/src/ap/hostapd.c b/src/ap/hostapd.c index bfa3c49c5..bc5bb6cff 100644 --- a/src/ap/hostapd.c +++ b/src/ap/hostapd.c @@ -760,7 +760,7 @@ static int hostapd_setup_bss(struct hostapd_data *hapd, int first) return -1; } - if (wpa_debug_level == MSG_MSGDUMP) + if (wpa_debug_level <= MSG_MSGDUMP) conf->radius->msg_dumps = 1; #ifndef CONFIG_NO_RADIUS hapd->radius = radius_client_init(hapd, conf->radius);