Wrong. The hostages were released as a result of the Algiers Accord which was signed on January 19, 1981. Reagan was not a party to that process. 

You might be thinking of the Iran - Contra scandal when Reagan violated the arms embargo and secretly supplied weapons to Iran to try and get hostages released.