summaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp2
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-06-13 08:43:07 -0700
committerJosh Blum <josh@joshknows.com>2011-06-14 17:27:47 -0700
commitd04fe45f552daa98be18995674ee34fa24f9652f (patch)
treebff02b21577c5cf24d955028781a845aeec9e639 /host/lib/usrp/usrp2
parentb092b291082612dca65bd8910feb89856550e3f0 (diff)
downloaduhd-d04fe45f552daa98be18995674ee34fa24f9652f.tar.gz
uhd-d04fe45f552daa98be18995674ee34fa24f9652f.tar.bz2
uhd-d04fe45f552daa98be18995674ee34fa24f9652f.zip
uhd: update packet handlers when the clock rate is changed
Diffstat (limited to 'host/lib/usrp/usrp2')
-rw-r--r--host/lib/usrp/usrp2/mboard_impl.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/host/lib/usrp/usrp2/mboard_impl.cpp b/host/lib/usrp/usrp2/mboard_impl.cpp
index 4a28ea9c4..6bf412a3e 100644
--- a/host/lib/usrp/usrp2/mboard_impl.cpp
+++ b/host/lib/usrp/usrp2/mboard_impl.cpp
@@ -466,6 +466,7 @@ void usrp2_mboard_impl::set(const wax::obj &key, const wax::obj &val){
case MBOARD_PROP_CLOCK_RATE:
UHD_ASSERT_THROW(val.as<double>() == this->get_master_clock_freq());
+ _device.update_xport_channel_mapping();
return;
default: UHD_THROW_PROP_SET_ERROR();