projects
/
debian
/
gnuradio
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Updated 'u2_rx_stream_at' to work with new_eth MAC (Douglas Geiger)
[debian/gnuradio]
/
usrp2
/
firmware
/
apps
/
txrx.c
diff --git
a/usrp2/firmware/apps/txrx.c
b/usrp2/firmware/apps/txrx.c
index 59eda45fc4be21ceeb65c343009d83910f425b91..839141ff2331cd4bd3466ba7cc8b3dec0232d3ec 100644
(file)
--- 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