Look, Turkey can do as it pleases - it has more to lose than we do in the total scheme of things one way or the other and at the end of the day, it's their future they're betting on, and that's their right as a sovereign state. But if we're telling ourselves that they're a solid ally, then we're kidding ourselves.
98 percent of Turkish citizens are Muslim. Turkey is a founding member of the Organisation of Islamic Cooperation, an organization which is currently discussing the option of cutting ties with any nation which recognizes or claims that Jerusalem is the capitol of Israel. In fact, for the past ten years, the Secretary-General of the Organisation of the Islamic Cooperation has been Turkish.
Of the 57 member states of this organization, only four recognize LGBT rights (and Turkey isn't one of them). Their position on terrorism differs markedly from the position of western countries, and HRW (Human Rights Watch) has expressed concern about the vagueness of their policies on human rights repeatedly. During a meeting in Malaysia a few years ago, the delegates from this organization couldn't even reach an agreement on the group's definition of terrorism.
So how can we expect Turkey to be our ally in our "war on terror?"