SAMV7 Ethernet: Fix an order problem that left RX and TX disabled

This commit is contained in:
Gregory Nutt 2015-03-18 18:07:07 -06:00
parent dd50e03666
commit 256da4837e

View File

@ -2703,9 +2703,9 @@ static int sam_ifup(struct net_driver_s *dev)
nllvdbg("Initialize the EMAC\n"); nllvdbg("Initialize the EMAC\n");
sam_emac_configure(priv); sam_emac_configure(priv);
sam_queue0_configure(priv);
sam_queue_configure(priv, EMAC_QUEUE_1); sam_queue_configure(priv, EMAC_QUEUE_1);
sam_queue_configure(priv, EMAC_QUEUE_2); sam_queue_configure(priv, EMAC_QUEUE_2);
sam_queue0_configure(priv);
/* Set the MAC address (should have been configured while we were down) */ /* Set the MAC address (should have been configured while we were down) */