diff --git a/osi/core/osi_core.c b/osi/core/osi_core.c index 07384c1..7893876 100644 --- a/osi/core/osi_core.c +++ b/osi/core/osi_core.c @@ -921,7 +921,7 @@ int osi_configure_eee(struct osi_core_priv_data *osi_core, unsigned int tx_lpi_enabled, unsigned int tx_lpi_timer) { if ((osi_core != OSI_NULL) && (osi_core->ops != OSI_NULL) && - (osi_core->ops->core_init != OSI_NULL) && + (osi_core->ops->configure_eee != OSI_NULL) && (tx_lpi_timer <= OSI_MAX_TX_LPI_TIMER) && (tx_lpi_timer >= OSI_MIN_TX_LPI_TIMER) && (tx_lpi_timer % OSI_MIN_TX_LPI_TIMER == OSI_NONE)) {