
If a transfer was cancelled, we are on our way to shutdown. If hackrf_stop_tx() or hackrf_stop_rx() were called, they will already have cleared this flag, but it is not cleared in hackrf_close(), and for consistency with other paths it makes sense to clear it here.