Dead wrong. It's actually part of Flynn's job. His problem was he misrepresented (either lied or misremembered) what was discussed when he talked to Pence. That's it.
There is a rumor that Flynn’s departure was planned all along. Perhaps they have another job for him. There are several factors in this situation that don’t make a lot of sense, so there must be a lot more to this story.