summaryrefslogtreecommitdiff
path: root/usrp2/firmware/apps/app_common_v2.c
diff options
context:
space:
mode:
authorJosh Blum2010-02-25 16:50:44 -0800
committerJosh Blum2010-02-25 16:50:44 -0800
commit752df2b84454756685dc2a05c232b59e3ebdaa2e (patch)
treee802a8dbcca00803d54a48a5e7488cfcd7695833 /usrp2/firmware/apps/app_common_v2.c
parent803cb1d7974ed7d419550cc66480c107c2f0d454 (diff)
downloadgnuradio-752df2b84454756685dc2a05c232b59e3ebdaa2e.tar.gz
gnuradio-752df2b84454756685dc2a05c232b59e3ebdaa2e.tar.bz2
gnuradio-752df2b84454756685dc2a05c232b59e3ebdaa2e.zip
setting xcvr antennas through api
Diffstat (limited to 'usrp2/firmware/apps/app_common_v2.c')
-rw-r--r--usrp2/firmware/apps/app_common_v2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usrp2/firmware/apps/app_common_v2.c b/usrp2/firmware/apps/app_common_v2.c
index 2d767b5a5..7716ed992 100644
--- a/usrp2/firmware/apps/app_common_v2.c
+++ b/usrp2/firmware/apps/app_common_v2.c
@@ -495,11 +495,11 @@ handle_control_chan_frame(u2_eth_packet_t *pkt, size_t len)
goto generic_reply;
case OP_RX_ANTENNA:
- db_set_antenna(rx_dboard, ((op_config_mimo_t *)payload)->flags);
+ ok = db_set_antenna(rx_dboard, ((op_config_mimo_t *)payload)->flags);
goto generic_reply;
case OP_TX_ANTENNA:
- db_set_antenna(tx_dboard, ((op_config_mimo_t *)payload)->flags);
+ ok = db_set_antenna(tx_dboard, ((op_config_mimo_t *)payload)->flags);
goto generic_reply;
case OP_BURN_MAC_ADDR: