Author: sam
Date: Mon Jun  8 23:47:47 2009
New Revision: 193782
URL: http://svn.freebsd.org/changeset/base/193782

Log:
  MFC r193524: do not force the mtu to 2290

Modified:
  stable/7/usr.sbin/wpa/hostapd/driver_freebsd.c

Modified: stable/7/usr.sbin/wpa/hostapd/driver_freebsd.c
==============================================================================
--- stable/7/usr.sbin/wpa/hostapd/driver_freebsd.c      Mon Jun  8 23:36:52 
2009        (r193781)
+++ stable/7/usr.sbin/wpa/hostapd/driver_freebsd.c      Mon Jun  8 23:47:47 
2009        (r193782)
@@ -244,18 +244,6 @@ bsd_set_iface_flags(void *priv, int dev_
                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;
 }
 
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to