|
@@ -2983,7 +2983,7 @@ static void __iwl_down(struct iwl_priv *priv)
|
|
|
iwl_clear_bit(priv, CSR_GP_CNTRL, CSR_GP_CNTRL_REG_FLAG_MAC_ACCESS_REQ);
|
|
|
|
|
|
/* Stop the device, and put it in low power state */
|
|
|
- priv->cfg->ops->lib->apm_ops.stop(priv);
|
|
|
+ iwl_apm_stop(priv);
|
|
|
|
|
|
exit:
|
|
|
memset(&priv->card_alive, 0, sizeof(struct iwl_alive_resp));
|
|
@@ -4597,7 +4597,7 @@ static void __devexit iwl_pci_remove(struct pci_dev *pdev)
|
|
|
* paths to avoid running iwl_down() at all before leaving driver.
|
|
|
* This (inexpensive) call *makes sure* device is reset.
|
|
|
*/
|
|
|
- priv->cfg->ops->lib->apm_ops.stop(priv);
|
|
|
+ iwl_apm_stop(priv);
|
|
|
|
|
|
iwl_tt_exit(priv);
|
|
|
|