Don't set ifp->if_output to ether_output(), since ether_ifattach()
will do it for us (we either call ether_ifattach() directly, or it gets called within ieee80211_ifattach()). Approved by: wpaul
This commit is contained in:
parent
491abe5ac7
commit
233ea3b7fc
@ -488,7 +488,6 @@ ndis_attach(dev)
|
||||
ifp->if_mtu = ETHERMTU;
|
||||
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
|
||||
ifp->if_ioctl = ndis_ioctl;
|
||||
ifp->if_output = ether_output;
|
||||
ifp->if_start = ndis_start;
|
||||
ifp->if_watchdog = ndis_watchdog;
|
||||
ifp->if_init = ndis_init;
|
||||
|
Loading…
Reference in New Issue
Block a user