summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--host/lib/usrp/usrp2/codec_impl.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/host/lib/usrp/usrp2/codec_impl.cpp b/host/lib/usrp/usrp2/codec_impl.cpp
index b246a35f8..5cc7a47ec 100644
--- a/host/lib/usrp/usrp2/codec_impl.cpp
+++ b/host/lib/usrp/usrp2/codec_impl.cpp
@@ -78,6 +78,11 @@ void usrp2_mboard_impl::rx_codec_get(const wax::obj &key_, wax::obj &val){
val = _codec_rx_gains[name];
return;
+ case CODEC_PROP_GAIN_RANGE:
+ assert_has(codec_rx_gain_ranges.keys(), name, "codec rx gain range name");
+ val = codec_rx_gain_ranges[name];
+ return;
+
default: UHD_THROW_PROP_GET_ERROR();
}
}