Chances are that yes you are doing something wrong...if you goal is to attract recruiters. Linkedin has some secrets just like any other platform and one of them is that recruiters tend to like 2nd or 3rd level connections so that they can see who you network with.
There are also ways to add keywords to your profile that make it easier for them to search by certain competencies or experience.
The number of recruiter requests that I get has increased steadily as I have increased the size of my network. Once you hit over 500 connections it seems to be a tipping point.
There are some other settings that indicate that you are open for conversations on hiring, business opportunities etc - that make it easier for them to contact you. Good luck.