I also had this issue.
On Acer Aspire V3-371 kernel 5.10.5-167 built by Solus (Budgie).
WiFi would crash the suspend mechanism, due to errors during unloading modules. Hibernate was working (after creating respective swapfile), but suspension was not. Turning off WiFi and Bluetooth manually before suspending the machine would fix the issue, but I didn't want to turn off wireless radios before every suspension, so I was determined to fix it.
Funny thing is that the live-disc didn't have these issues, only started occurring after installing to hard drive, which led me to this forum (and others) trying to find the solution.
I created a file 20-wmi-bmof-blacklist.conf in /usr/lib64/modprobe.d with the following line:
And then in file /usr/lib64/dist-blacklist.conf I added the following line:
#Prevent wmi_bmof from installing if requested. It is blacklisted in 20-wmi-bmof-blacklist.conf file. We have a specific acer_wmi to handle wireless!
install wmi_bmof /bin/false
After performing these tasks, and rebooting computer, I can successfully suspend the computer. All modules unload fine.