Updated 'u2_rx_stream_at' to work with new_eth MAC (Douglas Geiger)
authorJohnathan Corgan <jcorgan@corganenterprises.com>
Sat, 17 Oct 2009 15:25:25 +0000 (08:25 -0700)
committerJohnathan Corgan <jcorgan@corganenterprises.com>
Thu, 3 Dec 2009 23:49:12 +0000 (15:49 -0800)
usrp2/firmware/apps/txrx.c

index 59eda45fc4be21ceeb65c343009d83910f425b91..839141ff2331cd4bd3466ba7cc8b3dec0232d3ec 100644 (file)
@@ -223,6 +223,7 @@ start_rx_streaming_at_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