summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorSam Leffler <sam@FreeBSD.org>2009-06-08 23:47:47 +0000
committerSam Leffler <sam@FreeBSD.org>2009-06-08 23:47:47 +0000
commitfda82d35af652a96fed3b88fb1f545cece3f0b6d (patch)
treebc2042c82517ec85b79573097647f9bf328b6831 /usr.sbin
parent256103c1defbbbd61c3074503967b29d0c9d34c7 (diff)
Notes
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/wpa/hostapd/driver_freebsd.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/usr.sbin/wpa/hostapd/driver_freebsd.c b/usr.sbin/wpa/hostapd/driver_freebsd.c
index 2fe6a0ab0c61..a106fe137c24 100644
--- a/usr.sbin/wpa/hostapd/driver_freebsd.c
+++ b/usr.sbin/wpa/hostapd/driver_freebsd.c
@@ -244,18 +244,6 @@ bsd_set_iface_flags(void *priv, int dev_up)
perror("ioctl[SIOCSIFFLAGS]");
return -1;
}
-
- if (dev_up) {
- memset(&ifr, 0, sizeof(ifr));
- snprintf(ifr.ifr_name, IFNAMSIZ, "%s", drv->iface);
- ifr.ifr_mtu = HOSTAPD_MTU;
- if (ioctl(drv->ioctl_sock, SIOCSIFMTU, &ifr) != 0) {
- perror("ioctl[SIOCSIFMTU]");
- printf("Setting MTU failed - trying to survive with "
- "current value\n");
- }
- }
-
return 0;
}