Wifi - No hardware installed

Hi everyone,
My 2011 macbook pro has been quite silly in regards to the wifi.
The wifi turned off itself and did not work anymore.
I did all the software tests and resetting without success.
So I thought it would be hardware. I opened it, unplugged the wifi/bluetooth card from the motherboard, I did I nice cleaning and turned it on.
It started working again, so I put the lid in and it stopped working. So I did it a couple of time and I realized that by some how, the lid under the laptop is stopping my wifi card. Right now I am using the macbook without lid and it is working. I tried isolating the lid with tape and also isolating the wifi card connectors and it didnt work too.
Does anyone have any clue about whats happening with my macbook?
FIXED
I realized that the problem was in the black cord but because it was not loose, I decided to clean it with WD-40 and its working now.
FIXED
I realized that the problem was in the black cord but because it was not loose, I decided to clean it with WD-40 and its working now.

Awesome! I'm so glad you were able to figure it out!

Original thread: https://forums.imore.com/threads/wifi-no-hardware-installed.417142/