aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd/ieee802_11h.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2007-12-25 05:43:48 (GMT)
committerJouni Malinen <j@w1.fi>2007-12-25 05:43:48 (GMT)
commit057661470c1461e897b86b74232e4a709b383e21 (patch)
tree226a365b1128a433308b5797419d7c829b299060 /hostapd/ieee802_11h.c
parent7d00b7a96928ee5aa695b84a44cfb57298e8a637 (diff)
downloadhostap-history-057661470c1461e897b86b74232e4a709b383e21.zip
hostap-history-057661470c1461e897b86b74232e4a709b383e21.tar.gz
hostap-history-057661470c1461e897b86b74232e4a709b383e21.tar.bz2
Replaced HOSTAPD_DEBUG() macro with wpa_printf() to get rid of the old
debug macros in hostapd. All new code should use functions from src/utils/wpa_debug.[ch] instead. As a bonus, this also changes some of the direct printf() calls to use wpa_printf().
Diffstat (limited to 'hostapd/ieee802_11h.c')
-rw-r--r--hostapd/ieee802_11h.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/hostapd/ieee802_11h.c b/hostapd/ieee802_11h.c
index 215e377..0229dca 100644
--- a/hostapd/ieee802_11h.c
+++ b/hostapd/ieee802_11h.c
@@ -23,8 +23,7 @@ int hostapd_check_power_cap(struct hostapd_data *hapd, u8 *power, u8 len)
unsigned int max_pwr;
if (len < 2) {
- HOSTAPD_DEBUG(HOSTAPD_DEBUG_MINIMAL,
- "Too short power capability IE\n");
+ wpa_printf(MSG_DEBUG, "Too short power capability IE");
return -1;
}
max_pwr = power[1];