Just a follow up...
I applied a buck converter to the external 5V power and the wifi is working again as nothing has happened.
So I'm pleased that I asked for help as I probably would not think of getting the power from the external 5V. It was easier than I thought to fix it.