Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Jun 2016 08:16:09 GMT
From:      yuanxunzhang@FreeBSD.org
To:        svn-soc-all@FreeBSD.org
Subject:   socsvn commit: r305363 - soc2016/yuanxunzhang/head/sys/net
Message-ID:  <201606200816.u5K8G92S070868@socsvn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuanxunzhang
Date: Mon Jun 20 08:16:08 2016
New Revision: 305363
URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=305363

Log:
  EAPS: add functions for eaps interface initialization

Modified:
  soc2016/yuanxunzhang/head/sys/net/eaps.c

Modified: soc2016/yuanxunzhang/head/sys/net/eaps.c
==============================================================================
--- soc2016/yuanxunzhang/head/sys/net/eaps.c	Mon Jun 20 08:07:24 2016	(r305362)
+++ soc2016/yuanxunzhang/head/sys/net/eaps.c	Mon Jun 20 08:16:08 2016	(r305363)
@@ -198,6 +198,7 @@
 	struct bridge_softc *sc = ifp->if_softc;
 	struct ifreq *ifr = (struct ifreq *)data;
 	struct ifdrv *ifd = (struct ifdrv *) data;
+	int error = 0;
 
 	switch (cmd) {
 
@@ -219,14 +220,8 @@
 static int
 eaps_transmit(struct ifnet *ifp, struct mbuf *m)
 {
-	struct eaps_softc *sc;
-	struct ether_header *eh;
-	struct ifnet *dst_if;
 	int error = 0;
 
-	sc = ifp->if_softc;
-	ETHER_BPF_MTAP(ifp, m);
-
 	return (error);
 }
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201606200816.u5K8G92S070868>