Browse Source

Merge "cnss2: Add code to notify mhi about link down" into wlan-platform.lnx.1.0

CNSS_WLAN Service 2 years ago
parent
commit
ebc05d00ac
1 changed files with 2 additions and 0 deletions
  1. 2 0
      cnss2/pci.c

+ 2 - 0
cnss2/pci.c

@@ -1653,6 +1653,8 @@ static void cnss_pci_handle_linkdown(struct cnss_pci_data *pci_priv)
 	}
 	pci_priv->pci_link_down_ind = true;
 	spin_unlock_irqrestore(&pci_link_down_lock, flags);
+	/* Notify MHI about link down*/
+	mhi_report_error(pci_priv->mhi_ctrl);
 
 	if (pci_dev->device == QCA6174_DEVICE_ID)
 		disable_irq(pci_dev->irq);