You're right. Before the movie he was just immune to telepathy based on his own mental fortitude. www.cbr.com/magneto-helm...

When Did Magneto's Helmet First Protect Him From Telepathy?In their latest look at how movies and TVs impact comics, CSBG examines how Magneto's helmet gained new powers from the X-Men movies.www.cbr.com