Author: sbruno
Date: Sat Nov  5 16:17:07 2016
New Revision: 308343
URL: https://svnweb.freebsd.org/changeset/base/308343

Log:
  r266979 missed a call to enable capabilities of the hw leading to an
  inability to enable features of the device.
  
  PR:             213845
  Submitted by:   pher...@frenchfries.net
  MFC after:      1 week

Modified:
  head/sys/dev/bxe/bxe.c

Modified: head/sys/dev/bxe/bxe.c
==============================================================================
--- head/sys/dev/bxe/bxe.c      Sat Nov  5 15:01:41 2016        (r308342)
+++ head/sys/dev/bxe/bxe.c      Sat Nov  5 16:17:07 2016        (r308343)
@@ -12691,6 +12691,7 @@ bxe_init_ifnet(struct bxe_softc *sc)
          IFCAP_WOL_MAGIC);
 #endif
     if_setcapabilitiesbit(ifp, capabilities, 0); /* XXX */
+    if_setcapenable(ifp, if_getcapabilities(ifp));
     if_setbaudrate(ifp, IF_Gbps(10));
 /* XXX */
     if_setsendqlen(ifp, sc->tx_ring_size);
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to