Use if_initbaudrate().
This commit is contained in:
parent
0979ea8f97
commit
71b8b1e9de
@ -876,7 +876,7 @@ ipoib_intf_alloc(const char *name)
|
||||
dev->if_output = ipoib_output;
|
||||
dev->if_input = ipoib_input;
|
||||
dev->if_resolvemulti = ipoib_resolvemulti;
|
||||
dev->if_baudrate = IF_Gbps(10UL);
|
||||
if_initbaudrate(dev, IF_Gbps(10));
|
||||
dev->if_broadcastaddr = priv->broadcastaddr;
|
||||
dev->if_snd.ifq_maxlen = ipoib_sendq_size * 2;
|
||||
sdl = (struct sockaddr_dl *)dev->if_addr->ifa_addr;
|
||||
|
Loading…
Reference in New Issue
Block a user