summaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp2
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-10-20 17:41:59 -0700
committerJosh Blum <josh@joshknows.com>2010-10-20 17:41:59 -0700
commitd96b2e7587962c43c1db895b3340f9d868cbd704 (patch)
tree1bf3f1a77312695cef87e696be9eb905617c2ec3 /host/lib/usrp/usrp2
parent8e341caadf19db645635e3e7e1a26e6b00e64c70 (diff)
downloaduhd-d96b2e7587962c43c1db895b3340f9d868cbd704.tar.gz
uhd-d96b2e7587962c43c1db895b3340f9d868cbd704.tar.bz2
uhd-d96b2e7587962c43c1db895b3340f9d868cbd704.zip
usrp: use the dboard id to prefix the subdev gain group names
Diffstat (limited to 'host/lib/usrp/usrp2')
-rw-r--r--host/lib/usrp/usrp2/dboard_impl.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/host/lib/usrp/usrp2/dboard_impl.cpp b/host/lib/usrp/usrp2/dboard_impl.cpp
index a462b93c2..540c9fefb 100644
--- a/host/lib/usrp/usrp2/dboard_impl.cpp
+++ b/host/lib/usrp/usrp2/dboard_impl.cpp
@@ -89,6 +89,7 @@ void usrp2_mboard_impl::rx_dboard_get(const wax::obj &key_, wax::obj &val){
case DBOARD_PROP_GAIN_GROUP:
val = make_gain_group(
+ _rx_db_eeprom.id,
_dboard_manager->get_rx_subdev(key.name),
_rx_codec_proxy->get_link(),
GAIN_GROUP_POLICY_RX
@@ -145,6 +146,7 @@ void usrp2_mboard_impl::tx_dboard_get(const wax::obj &key_, wax::obj &val){
case DBOARD_PROP_GAIN_GROUP:
val = make_gain_group(
+ _tx_db_eeprom.id,
_dboard_manager->get_tx_subdev(key.name),
_tx_codec_proxy->get_link(),
GAIN_GROUP_POLICY_TX