diff options
author | Ashish Chaudhari <ashish@ettus.com> | 2014-04-28 15:22:47 -0700 |
---|---|---|
committer | Ashish Chaudhari <ashish@ettus.com> | 2014-04-28 15:22:47 -0700 |
commit | 7fad62620d75a56f35fb12d3a74ca5b157e01514 (patch) | |
tree | 4ad5ed683d3c12a648a78b90e40eef4918506263 /host/lib/transport/nirio | |
parent | 623f5295d8297794d85894ed174221b6d18e75c0 (diff) | |
download | uhd-7fad62620d75a56f35fb12d3a74ca5b157e01514.tar.gz uhd-7fad62620d75a56f35fb12d3a74ca5b157e01514.tar.bz2 uhd-7fad62620d75a56f35fb12d3a74ca5b157e01514.zip |
x300: Fixed DMA busy logic after review feedback.
Diffstat (limited to 'host/lib/transport/nirio')
-rw-r--r-- | host/lib/transport/nirio/niusrprio_session.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/transport/nirio/niusrprio_session.cpp b/host/lib/transport/nirio/niusrprio_session.cpp index 3afe61eae..97d764736 100644 --- a/host/lib/transport/nirio/niusrprio_session.cpp +++ b/host/lib/transport/nirio/niusrprio_session.cpp @@ -214,7 +214,7 @@ nirio_status niusrprio_session::_ensure_fpga_ready() boost::uint32_t reg_data = 0xffffffff; nirio_status_chain(_riok_proxy.peek(FPGA_STATUS_REG, reg_data), status); - if (reg_data & FPGA_STATUS_DMA_ACTIVE_MASK) + if (nirio_status_not_fatal(status) && (reg_data & FPGA_STATUS_DMA_ACTIVE_MASK)) { //In case this session was re-initialized *immediately* after the previous //there is a small chance that the server is still finishing up cleaning up |