Glad you've got it sorted.
I've an M2 but am posting this on a mid2009 MBP (MacOS). Unrelated to your issue, I did actually require the WiFi card (and almost everything else) to be replaced. It would on occasion drop WiFi, but always when running the Speedtest from Ookla.