summaryrefslogtreecommitdiffstats
path: root/host
diff options
context:
space:
mode:
Diffstat (limited to 'host')
-rw-r--r--host/lib/usrp/usrp1/dboard_iface.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/host/lib/usrp/usrp1/dboard_iface.cpp b/host/lib/usrp/usrp1/dboard_iface.cpp
index c2c971269..4e47d6bf6 100644
--- a/host/lib/usrp/usrp1/dboard_iface.cpp
+++ b/host/lib/usrp/usrp1/dboard_iface.cpp
@@ -267,7 +267,7 @@ void usrp1_dboard_iface::_set_atr_reg(unit_t unit,
atr_reg_t atr, boost::uint16_t value)
{
// Ignore unsupported states
- if ((atr == ATR_REG_IDLE))
+ if ((atr == ATR_REG_IDLE) || (atr == ATR_REG_TX_ONLY))
return;
if(atr == ATR_REG_RX_ONLY) {
switch(unit) {
@@ -284,7 +284,7 @@ void usrp1_dboard_iface::_set_atr_reg(unit_t unit,
_iface->poke32(FR_ATR_RXVAL_2, value);
break;
}
- } else if (atr == ATR_REG_TX_ONLY && atr == ATR_REG_FULL_DUPLEX) {
+ } else if (atr == ATR_REG_FULL_DUPLEX) {
switch(unit) {
case UNIT_RX:
if (_dboard_slot == usrp1_impl::DBOARD_SLOT_A)