I experienced this recently and found out that the option to allow the computer to turn off the device in the power management settings of the network adapter was enabled.