hyperv/hn: Set baudrate properly

PR:		208931
Submitted by:	Eugene Grosbein <ports grosbein net>
Reported by:	Eugene Grosbein <ports grosbein net>
MFC after:	1 week
Sponsored by:	Microsoft
This commit is contained in:
sephe 2016-10-25 01:41:39 +00:00
parent 5e52502fd6
commit e57ec55e20

View File

@ -789,6 +789,7 @@ netvsc_attach(device_t dev)
* Setup the ifnet for this interface.
*/
ifp->if_baudrate = IF_Gbps(10);
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
ifp->if_ioctl = hn_ioctl;
ifp->if_init = hn_init;