wifi hangs at authorization sometimes after resume

since a few days I have the following problem:
after resume from sleep the laptop can not connect to the wifi connection again, after hanging for a while at “waiting for authorization”. no connection to any wifi network is then possible.
after reboot it connects fine automatically.
this doesn’t happen after every resume. Happens with different routers.
disabling and enabling wifi from taskbar doesn’t help.

it takes quite a while until the plasmashell bar on the bottom is accssible again after resume: can it be a timeout problem?
what can I do to connect to wifi after resume without reboot?

ps:
touchpad is not working after resume either. I managed to make it work again after resume with a script in /usr/lib/systemd/system-sleep/ executing:
/sbin/rmmod i2c_hid
/sbin/modprobe i2c_hid

happens now every 2nd or 3rd time.
it’s not restricted to wifi - lan connection doesn’t work either.

are there any (kernel) modules could have died and need restart?

I’m not aware of any. But it could be hardware dependent.

I assume you are using NetworkManager. As best I recall, there’s somewhere on the tray icon where you can disable networking. You might try disable, wait a minute, then enable. If that works, it is easier than rebooting.