Macbook connecting to hotspot - slow wi-fi after wake from sleep
This is technically not a fix but I think toggling wifi off and on solves the issue, without having to restart your mac. I have the same issue on my 2018 mac mini, and the only way I found to avoid this issue is to not put it to sleep.