summaryrefslogtreecommitdiffstats
path: root/usr.sbin/wpa/wpa_supplicant/driver_freebsd.c
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2006-03-07 05:54:20 +0000
committersam <sam@FreeBSD.org>2006-03-07 05:54:20 +0000
commitccaf726b20f34444c6cbe5c3fb217acfbac4d5e6 (patch)
tree71109b51f18b2430ee5028f4d31e9c0897b4d55e /usr.sbin/wpa/wpa_supplicant/driver_freebsd.c
parent7ec4eb033d83d1150a5d461349c32d7113770a57 (diff)
downloadFreeBSD-src-ccaf726b20f34444c6cbe5c3fb217acfbac4d5e6.zip
FreeBSD-src-ccaf726b20f34444c6cbe5c3fb217acfbac4d5e6.tar.gz
update for v0.4.8 import of wpa_supplicant and hostapd
MFC after: 2 weeks
Diffstat (limited to 'usr.sbin/wpa/wpa_supplicant/driver_freebsd.c')
-rw-r--r--usr.sbin/wpa/wpa_supplicant/driver_freebsd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/wpa/wpa_supplicant/driver_freebsd.c b/usr.sbin/wpa/wpa_supplicant/driver_freebsd.c
index 6a02df6..b88a9cc 100644
--- a/usr.sbin/wpa/wpa_supplicant/driver_freebsd.c
+++ b/usr.sbin/wpa/wpa_supplicant/driver_freebsd.c
@@ -78,7 +78,8 @@ get80211var(struct wpa_driver_bsd_data *drv, int op, void *arg, int arg_len)
ireq.i_data = arg;
if (ioctl(drv->sock, SIOCG80211, &ireq) < 0) {
- perror("ioctl[SIOCG80211]");
+ fprintf(stderr, "ioctl[SIOCG80211, op %u, len %u]: %s\n",
+ op, arg_len, strerror(errno));
return -1;
}
return ireq.i_len;
OpenPOWER on IntegriCloud