This is what we do for RX and appears to prevent HackRF remaining in TX mode. This mirrors commit 693c262