When I reassume my computer from a sleep, I observe sometimes that my wireless adapter is not working. The network connections icon in the system tray on Windows says 'Not connected - No connections available'. My wireless adapter, Qualcomm Atheros QCA9377, has this for the device status:
This device cannot start. (Code 10)
{Operation Failed}
The requested operation was unsuccessful.
I only observe this problem when I am running VirtualBox running with a VM.
I am running Windows 10 host with VirtualBox guest running Lubuntu 18.04. From VirtualBox, I have two network interfaces, NAT and Host-only Adapter.
To recover, I have to shutdown the VM and disable and enable the wireless adapter from Device Manager. I am then able to see wireless networks. This does not work if the VM is running. When things are working properly, I don't have an issue connecting to the Internet either from my host or the VM.
I am running the latest version of this device, 12.0.0.722. I have the latest version of VirtualBox installed, 5.2.22 r126460. The power saving setting in my network adapter have been disabled (see step 3 here).
How can I stop this from happening?