socsvn commit: r305363 - soc2016/yuanxunzhang/head/sys/net
yuanxunzhang at FreeBSD.org
yuanxunzhang at FreeBSD.org
Mon Jun 20 08:16:10 UTC 2016
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);
}
More information about the svn-soc-all
mailing list