aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-06-13 16:15:50 -0700
committerJosh Blum <josh@joshknows.com>2011-06-14 17:27:47 -0700
commit8173943ea945e685babe461c682622f1db05a413 (patch)
treeb2c96d6040d126478783c9c69924cc8b19d85301
parente59b6652d77b5326b5eb813a34bcf3ad51b44750 (diff)
downloaduhd-8173943ea945e685babe461c682622f1db05a413.tar.gz
uhd-8173943ea945e685babe461c682622f1db05a413.tar.bz2
uhd-8173943ea945e685babe461c682622f1db05a413.zip
usrp_e100: init the subdev specs before calling io_init
-rw-r--r--host/lib/usrp/usrp_e100/usrp_e100_impl.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/host/lib/usrp/usrp_e100/usrp_e100_impl.cpp b/host/lib/usrp/usrp_e100/usrp_e100_impl.cpp
index e9e9b6e20..01a49c129 100644
--- a/host/lib/usrp/usrp_e100/usrp_e100_impl.cpp
+++ b/host/lib/usrp/usrp_e100/usrp_e100_impl.cpp
@@ -171,12 +171,13 @@ usrp_e100_impl::usrp_e100_impl(
//init the codec properties
codec_init();
- //init the io send/recv
- io_init();
-
//set default subdev specs
this->mboard_set(MBOARD_PROP_RX_SUBDEV_SPEC, subdev_spec_t());
this->mboard_set(MBOARD_PROP_TX_SUBDEV_SPEC, subdev_spec_t());
+
+ //init the io send/recv
+ io_init();
+
}
usrp_e100_impl::~usrp_e100_impl(void){