svn commit: r215964 - head/sys/dev/usb/net

Pyun YongHyeon yongari at FreeBSD.org
Sun Nov 28 01:03:06 UTC 2010


Author: yongari
Date: Sun Nov 28 01:03:06 2010
New Revision: 215964
URL: http://svn.freebsd.org/changeset/base/215964

Log:
  Make sure to change to currently selected media.

Modified:
  head/sys/dev/usb/net/if_axe.c

Modified: head/sys/dev/usb/net/if_axe.c
==============================================================================
--- head/sys/dev/usb/net/if_axe.c	Sun Nov 28 01:00:39 2010	(r215963)
+++ head/sys/dev/usb/net/if_axe.c	Sun Nov 28 01:03:06 2010	(r215964)
@@ -1074,6 +1074,8 @@ axe_init(struct usb_ether *ue)
 	usbd_xfer_set_stall(sc->sc_xfer[AXE_BULK_DT_WR]);
 
 	ifp->if_drv_flags |= IFF_DRV_RUNNING;
+	/* Switch to selected media. */
+	axe_ifmedia_upd(ifp);
 	axe_start(ue);
 }
 


More information about the svn-src-all mailing list