mirror of
https://review.haiku-os.org/haiku
synced 2024-11-23 07:18:40 +01:00
freebsd_network: Use if_transmit in ether_output.
This is what FreeBSD does. The default implementation (in this same file) does what ether_output did before, but the FreeBSD net80211 stack overrides the method.
This commit is contained in:
parent
551a9b9a01
commit
99dcbd9716
@ -775,9 +775,7 @@ int
|
||||
ether_output(struct ifnet *ifp, struct mbuf *m, struct sockaddr *dst,
|
||||
struct route *ro)
|
||||
{
|
||||
int error = 0;
|
||||
IFQ_HANDOFF(ifp, m, error);
|
||||
return error;
|
||||
return ifp->if_transmit(ifp, m);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user