mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-30 14:08:21 +00:00
dpc: add dpc_prepare
This commit is contained in:
@@ -43,7 +43,8 @@ static int loopback_sendpacket(netdev_t *netdev, netdesc_t desc, mac_t targetmac
|
||||
memcpy(desc.address, ðframe, sizeof(ethframe_t));
|
||||
|
||||
dpc_t dpc = {0};
|
||||
dpc_enqueue(&dpc, rx_dpc, desc.address);
|
||||
dpc_prepare(&dpc, rx_dpc);
|
||||
dpc_enqueue(&dpc, desc.address);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user