remove debugging code
[debian/gnuradio] / usrp2 / firmware / apps / txrx.c
index 935e62a729910a0378b63281e0122f35af789948..b2487ed89d38f7f5c8b8a9266ffea44861f389e7 100644 (file)
@@ -168,6 +168,7 @@ start_rx_streaming_cmd(const u2_mac_addr_t *host, op_start_rx_streaming_t *p)
   u2_eth_packet_t      pkt;
   memset(&pkt, 0, sizeof(pkt));
   pkt.ehdr.dst = *host;
+  pkt.ehdr.src = *ethernet_mac_addr();
   pkt.ehdr.ethertype = U2_ETHERTYPE;
   u2p_set_word0(&pkt.fixed, 0, 0);
   // DSP RX will fill in timestamp
@@ -262,10 +263,7 @@ main(void)
   newline();
 
   ethernet_register_link_changed_callback(link_changed_callback);
-  putstr("Before ethernet_init()\n");
   ethernet_init();
-  putstr("After ethernet_init()\n");
-
 
 #if 0
   // make bit 15 of Tx gpio's be a s/w output