summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohnathan Corgan2009-10-17 08:25:25 -0700
committerJohnathan Corgan2009-12-03 15:49:12 -0800
commitfda964eb9b5c98093029450bee2104e723143772 (patch)
tree033f14f9e45c49a1bfa88c4a56e9a0ce3bc98d31
parent7f28201b45a63735b3b710105e1c86dbe1f4e514 (diff)
downloadgnuradio-fda964eb9b5c98093029450bee2104e723143772.tar.gz
gnuradio-fda964eb9b5c98093029450bee2104e723143772.tar.bz2
gnuradio-fda964eb9b5c98093029450bee2104e723143772.zip
Updated 'u2_rx_stream_at' to work with new_eth MAC (Douglas Geiger)
-rw-r--r--usrp2/firmware/apps/txrx.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/usrp2/firmware/apps/txrx.c b/usrp2/firmware/apps/txrx.c
index 59eda45fc..839141ff2 100644
--- a/usrp2/firmware/apps/txrx.c
+++ b/usrp2/firmware/apps/txrx.c
@@ -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