Revert "nvethernet: Disable EEE feature"

This reverts commit 3b60e4e0d59bbd8d582a85d5e4c3459499c7ae33.

Bug 2813867
Bug 2850086

Signed-off-by: Mahesh Patil <maheshp@nvidia.com>
Change-Id: I2891c5db06b4269c1424d8c91e3b3c12129ec973
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2314315
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: automaticguardword <automaticguardword@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Ajay Gupta <ajayg@nvidia.com>
Reviewed-by: Ashutosh Jha <ajha@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
GVS: Gerrit_Virtual_Submit
This commit is contained in:
Mahesh Patil
2020-03-17 15:26:11 -07:00
committed by Revanth Kumar Uppala
parent c547794a00
commit 35f2dceb54

View File

@@ -1231,8 +1231,7 @@ static int ether_therm_init(struct ether_priv_data *pdata)
static inline void ether_init_eee_params(struct ether_priv_data *pdata)
{
if (pdata->hw_feat.eee_sel) {
/* default, keep it disabled */
pdata->eee_enabled = OSI_DISABLE;
pdata->eee_enabled = OSI_ENABLE;
} else {
pdata->eee_enabled = OSI_DISABLE;
}