]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - drivers/usb/eth/asix.c
net: cosmetic: Fix var naming net <-> eth drivers
[people/ms/u-boot.git] / drivers / usb / eth / asix.c
index 1cd179baaea7a859443d4ba31db9eecef5e323ba..c8697ae78dbc719220144174b5ebd83fa193b7b8 100644 (file)
@@ -534,7 +534,8 @@ static int asix_recv(struct eth_device *eth)
                }
 
                /* Notify net stack */
-               NetReceive(buf_ptr + sizeof(packet_len), packet_len);
+               net_process_received_packet(buf_ptr + sizeof(packet_len),
+                                           packet_len);
 
                /* Adjust for next iteration. Packets are padded to 16-bits */
                if (packet_len & 1)