aboutsummaryrefslogtreecommitdiffstats
path: root/host/examples/tx_bursts.cpp
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2021-11-11 10:38:47 +0100
committerAaron Rossetto <aaron.rossetto@ni.com>2021-11-15 10:31:37 -0800
commit47a9e278f5a7efc1e67703814065046863ad0329 (patch)
treecc386e5cd80bd4f2df041935afcb2404ba27731b /host/examples/tx_bursts.cpp
parent09839fa23229daf00cb9b857806d47d2cac50057 (diff)
downloaduhd-47a9e278f5a7efc1e67703814065046863ad0329.tar.gz
uhd-47a9e278f5a7efc1e67703814065046863ad0329.tar.bz2
uhd-47a9e278f5a7efc1e67703814065046863ad0329.zip
rfnoc: mgmt_portal: Fix order of validity checks
The order must: - Check transaction has the right number of hops, then read hop - Check hop has the right number of operations (at least 2), then read those ops - Check the ops have the correct opcodes The code was doing checks in the wrong order. Thanks to Github user johnwstanford for pointing this out.
Diffstat (limited to 'host/examples/tx_bursts.cpp')
0 files changed, 0 insertions, 0 deletions