Prevent Network Adapter from getting disabled resuming from sleep mode.
1.Go to Device Manager, right click the net work adapter and select Properties
2.Click on Power Management tab.Uncheck the option saying “ Allow the computer to turn this device to save power”
Or uncheck any related option under network power management.
That should make it work. Now the adapter won’t get disable whenever you put system in sleep mode.