You have been custody of your child and not that you have been given rights of your child to you.
Your ex-spouse is the biological father of child hence to give your child in adoption to your current adoption, your ex-spouse's permission/consent is essential, in fact he has to execute the adoption deed before the registrar for registering the adoption deed as well as he has to confirm his willingness before court of law to give your child in adoption to your current husband in the declaration suit to declare the adoption as legally valid.