summaryrefslogtreecommitdiffstats
path: root/usr.sbin/wpa/wpa_supplicant/driver_freebsd.c
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2006-04-17 00:17:29 +0000
committersam <sam@FreeBSD.org>2006-04-17 00:17:29 +0000
commitd1802e14443fe4a4d9b4388fa7be3bd3c330b9a4 (patch)
tree843eb2e2c5602dab3802fd74710a39ac66edece6 /usr.sbin/wpa/wpa_supplicant/driver_freebsd.c
parentcc94e2fe3b3408d1b8dcb27bc478d57821d5d8e9 (diff)
downloadFreeBSD-src-d1802e14443fe4a4d9b4388fa7be3bd3c330b9a4.zip
FreeBSD-src-d1802e14443fe4a4d9b4388fa7be3bd3c330b9a4.tar.gz
remove some unnecessary perror calls
Noticed by: Jouni Malinen 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.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/usr.sbin/wpa/wpa_supplicant/driver_freebsd.c b/usr.sbin/wpa/wpa_supplicant/driver_freebsd.c
index b88a9cc..7f37772 100644
--- a/usr.sbin/wpa/wpa_supplicant/driver_freebsd.c
+++ b/usr.sbin/wpa/wpa_supplicant/driver_freebsd.c
@@ -96,7 +96,6 @@ set80211param(struct wpa_driver_bsd_data *drv, int op, int arg)
ireq.i_val = arg;
if (ioctl(drv->sock, SIOCS80211, &ireq) < 0) {
- perror("ioctl[SIOCS80211]");
fprintf(stderr, "ioctl[SIOCS80211, op %u, arg 0x%x]: %s\n",
op, arg, strerror(errno));
return -1;
@@ -114,7 +113,6 @@ get80211param(struct wpa_driver_bsd_data *drv, int op)
ireq.i_type = op;
if (ioctl(drv->sock, SIOCG80211, &ireq) < 0) {
- perror("ioctl[SIOCG80211]");
fprintf(stderr, "ioctl[SIOCG80211, op %u]: %s\n",
op, strerror(errno));
return -1;
OpenPOWER on IntegriCloud