svn commit: r216532 - head/usr.sbin/wpa/hostapd
Bernhard Schmidt
bschmidt at FreeBSD.org
Sat Dec 18 20:11:10 UTC 2010
Author: bschmidt
Date: Sat Dec 18 20:11:09 2010
New Revision: 216532
URL: http://svn.freebsd.org/changeset/base/216532
Log:
Remove debug messages which are no longer present in upstream code. While
here remove some explicit line breaks.
Modified:
head/usr.sbin/wpa/hostapd/driver_freebsd.c
Modified: head/usr.sbin/wpa/hostapd/driver_freebsd.c
==============================================================================
--- head/usr.sbin/wpa/hostapd/driver_freebsd.c Sat Dec 18 20:08:21 2010 (r216531)
+++ head/usr.sbin/wpa/hostapd/driver_freebsd.c Sat Dec 18 20:11:09 2010 (r216532)
@@ -119,8 +119,6 @@ bsd_get_ssid(void *priv, u8 *buf, int le
int ssid_len = get80211var(priv, IEEE80211_IOC_SSID, buf, len);
- wpa_printf(MSG_DEBUG, "%s: ssid=\"%.*s\"\n", __func__, ssid_len, buf);
-
return ssid_len;
}
@@ -130,8 +128,6 @@ bsd_set_ssid(void *priv, const u8 *buf,
struct bsd_driver_data *drv = priv;
struct hostapd_data *hapd = drv->hapd;
- wpa_printf(MSG_DEBUG, "%s: ssid=\"%.*s\"\n", __func__, len, buf);
-
return set80211var(priv, IEEE80211_IOC_SSID, buf, len);
}
@@ -173,8 +169,6 @@ bsd_set_iface_flags(void *priv, int flag
struct hostapd_data *hapd = drv->hapd;
struct ifreq ifr;
- wpa_printf(MSG_DEBUG, "%s: flags=0x%x\n", __func__, flags);
-
if (drv->sock < 0)
return -1;
@@ -276,7 +270,7 @@ bsd_set_key(const char *ifname, void *pr
static int
bsd_set_ieee8021x(void *priv, struct wpa_bss_params *params)
{
- wpa_printf(MSG_DEBUG, "%s: enabled=%d\n", __func__, params->enabled);
+ wpa_printf(MSG_DEBUG, "%s: enabled=%d", __func__, params->enabled);
if (!params->enabled) {
/* XXX restore state */
@@ -425,7 +419,7 @@ ether_sprintf(const u8 *addr)
static int
bsd_set_privacy(void *priv, int enabled)
{
- wpa_printf(MSG_DEBUG, "%s: enabled=%d\n", __func__, enabled);
+ wpa_printf(MSG_DEBUG, "%s: enabled=%d", __func__, enabled);
return set80211param(priv, IEEE80211_IOC_PRIVACY, enabled);
}
@@ -438,7 +432,7 @@ bsd_get_seqnum(const char *ifname, void
struct hostapd_data *hapd = drv->hapd;
struct ieee80211req_key wk;
- wpa_printf(MSG_DEBUG, "%s: addr=%s idx=%d\n",
+ wpa_printf(MSG_DEBUG, "%s: addr=%s idx=%d",
__func__, ether_sprintf(addr), idx);
memset(&wk, 0, sizeof(wk));
@@ -495,7 +489,7 @@ bsd_sta_clear_stats(void *priv, const u8
struct hostapd_data *hapd = drv->hapd;
struct ieee80211req_sta_stats stats;
- wpa_printf(MSG_DEBUG, "%s: addr=%s\n", __func__, ether_sprintf(addr));
+ wpa_printf(MSG_DEBUG, "%s: addr=%s", __func__, ether_sprintf(addr));
/* zero station statistics */
memset(&stats, 0, sizeof(stats));
More information about the svn-src-head
mailing list