Yep. Either the DOJ or some scumbag like Schiff did it.
Although I won't argue with your description of Schiff, at that time he was a nothing. He had no real power as the GOP under Paul Ryan controlled the House and under McConnell, the Senate.
Surely you're not suggesting a Republican could have set Flynn up? (/s)