Added net device TX queue; this will be needed to support the PXE UNDI API
[people/xl0/gpxe.git] / src / drivers / net / legacy.c
index 0c205ae..2d952aa 100644 (file)
@@ -34,7 +34,7 @@ static int legacy_transmit ( struct net_device *netdev, struct pk_buff *pkb ) {
        nic->nic_op->transmit ( nic, ( const char * ) ethhdr->h_dest,
                                ntohs ( ethhdr->h_protocol ),
                                pkb_len ( pkb ), pkb->data );
-       free_pkb ( pkb );
+       netdev_tx_complete ( netdev, pkb );
        return 0;
 }