diff options
author | Martin Braun <martin.braun@ettus.com> | 2021-11-11 10:38:47 +0100 |
---|---|---|
committer | Aaron Rossetto <aaron.rossetto@ni.com> | 2021-11-15 10:31:37 -0800 |
commit | 47a9e278f5a7efc1e67703814065046863ad0329 (patch) | |
tree | cc386e5cd80bd4f2df041935afcb2404ba27731b /host/examples/twinrx_freq_hopping.cpp | |
parent | 09839fa23229daf00cb9b857806d47d2cac50057 (diff) | |
download | uhd-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/twinrx_freq_hopping.cpp')
0 files changed, 0 insertions, 0 deletions