Question Toshiba satellite L50-b-27k wifi connection problem

Jul 30, 2019
After 20 minutes using, wifi connection disabled and it can't connect to modem. After restarting laptop , it is connecting but same problem occurs again.
I formatted laptop , previous os was windows 8 and now installed windows 10 , 2019 May edition. I also bought usb wifi dongle but same problem

What can cause this problem, both wifi card and usb wifi dongle disabled after using a few minutes ?