Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/sys/dev/ic/bwfm.c,v rcsdiff: /ftp/cvs/cvsroot/src/sys/dev/ic/bwfm.c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.12 retrieving revision 1.12.2.1 diff -u -p -r1.12 -r1.12.2.1 --- src/sys/dev/ic/bwfm.c 2018/06/26 06:48:00 1.12 +++ src/sys/dev/ic/bwfm.c 2019/06/10 22:07:10 1.12.2.1 @@ -1,4 +1,4 @@ -/* $NetBSD: bwfm.c,v 1.12 2018/06/26 06:48:00 msaitoh Exp $ */ +/* $NetBSD: bwfm.c,v 1.12.2.1 2019/06/10 22:07:10 christos Exp $ */ /* $OpenBSD: bwfm.c,v 1.5 2017/10/16 22:27:16 patrick Exp $ */ /* * Copyright (c) 2010-2016 Broadcom Corporation @@ -237,6 +237,7 @@ bwfm_attach(struct bwfm_softc *sc) ifp->if_init = bwfm_init; ifp->if_ioctl = bwfm_ioctl; ifp->if_start = bwfm_start; + ifp->if_stop = bwfm_stop; ifp->if_watchdog = bwfm_watchdog; IFQ_SET_READY(&ifp->if_snd); memcpy(ifp->if_xname, DEVNAME(sc), IFNAMSIZ); @@ -337,7 +338,7 @@ bwfm_start(struct ifnet *ifp) continue; } - error = sc->sc_bus_ops->bs_txdata(sc, m); + error = sc->sc_bus_ops->bs_txdata(sc, &m); if (error == ENOBUFS) { IF_PREPEND(&ifp->if_snd, m); ifp->if_flags |= IFF_OACTIVE;