|
@@ -2799,7 +2799,8 @@ void e1000e_reset(struct e1000_adapter *adapter)
|
|
e1000e_reset_adaptive(hw);
|
|
e1000e_reset_adaptive(hw);
|
|
e1000_get_phy_info(hw);
|
|
e1000_get_phy_info(hw);
|
|
|
|
|
|
- if (!(adapter->flags & FLAG_SMART_POWER_DOWN)) {
|
|
|
|
|
|
+ if ((adapter->flags & FLAG_HAS_SMART_POWER_DOWN) &&
|
|
|
|
+ !(adapter->flags & FLAG_SMART_POWER_DOWN)) {
|
|
u16 phy_data = 0;
|
|
u16 phy_data = 0;
|
|
/*
|
|
/*
|
|
* speed up time to link by disabling smart power down, ignore
|
|
* speed up time to link by disabling smart power down, ignore
|