summaryrefslogtreecommitdiff
path: root/usrp2/firmware/apps/app_common_v2.c
diff options
context:
space:
mode:
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: