This is a bad move. Supporting a dictator such as Erdogan can bring no positives, especially at a time when he is trying to convert Turkey in to an Islamic Caliphate. Turkey has been a major rival of Russia for the past 700 years. And the situation is not going to change during the next 700 years as well.
I rarely agree with you,but this is a case where I fully support you. It seems to me that Putin does it because it no support and he is ready to cooperate with anyone who will give him a hand. This may eventually have negative consequences on Russia, but now Putin is not worried.