Flynn, a veteran of America's wars in Iraq and Afghanistan, has courted controversy with extreme statements that critics say border on Islamophobia, but has taken a more flexible line on Russia and China.