Sync console button won’t work

I’m having trouble with syncing my console with my control, I opened my xbox and noticed that is not a problem with the flex cable, so I was thinking maybe it’s the WiFi card, but I’m not sure. My xbox control does connect with no problem to other consoles. When I press the console sync button it makes a sound, but the front panel led won’t blink nor enter in sync mode, sometimes it works and I can connect my control, but after a while it disconnects and won’t connect again until I restart my Xbox but sometimes even that won’t work. I have tried Hard resetting, Restarting, Duty cycle, Activating the sync mode from the front panel

This happened to me when the signal wire from the front panel to the wifi/bt card was not connected correctly… it makes sense, because speaker is connected to front panel but the signal doesn’t get to the wifi card…