From: Jouni Malinen Date: Sat, 10 Apr 2010 19:46:54 +0000 (+0300) Subject: Fix error messages to print ASCII MAC address, not the parse buffer X-Git-Tag: hostap_0_7_2~66 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a7b6c42232cf5a0dd839a5e39c9b546453cfa3aa;p=thirdparty%2Fhostap.git Fix error messages to print ASCII MAC address, not the parse buffer --- diff --git a/wpa_supplicant/ctrl_iface.c b/wpa_supplicant/ctrl_iface.c index 969cc8a08..19a4d8d5c 100644 --- a/wpa_supplicant/ctrl_iface.c +++ b/wpa_supplicant/ctrl_iface.c @@ -119,7 +119,7 @@ static int wpa_supplicant_ctrl_iface_stkstart( if (hwaddr_aton(addr, peer)) { wpa_printf(MSG_DEBUG, "CTRL_IFACE STKSTART: invalid " - "address '%s'", peer); + "address '%s'", addr); return -1; } @@ -141,7 +141,7 @@ static int wpa_supplicant_ctrl_iface_ft_ds( if (hwaddr_aton(addr, target_ap)) { wpa_printf(MSG_DEBUG, "CTRL_IFACE FT_DS: invalid " - "address '%s'", target_ap); + "address '%s'", addr); return -1; } @@ -343,7 +343,7 @@ static int wpa_supplicant_ctrl_iface_ibss_rsn( if (hwaddr_aton(addr, peer)) { wpa_printf(MSG_DEBUG, "CTRL_IFACE IBSS_RSN: invalid " - "address '%s'", peer); + "address '%s'", addr); return -1; }