We don’t know Russia’s motives in granting asylum to Snowden.
We do know that Russia has said it will imprison gay athletes who attend the 2014 Olympic Games, and Russia has a wide history of civil rights abuses in the past few years. If they granted Snowden asylum simply to thumb their nose at the US, it’s different than them granting him asylum because they believe in freedom and privacy.