瀏覽代碼

qcacld-3.0: Stop dsc transaction in case of reinit failure

Incase of any error in the driver reinit the dsc transaction is
not stopped resulting in the timeout and system instability.

To mitigate the above issue, stop the dsc timeout incase of
reinit failure.

Change-Id: I59b37581a2e6909b61a32344ae9c4af2118558eb
CRs-Fixed: 2780376
Arun Kumar Khandavalli 4 年之前
父節點
當前提交
a16d7d09ca
共有 1 個文件被更改,包括 2 次插入3 次删除
  1. 2 3
      core/hdd/src/wlan_hdd_driver_ops.c

+ 2 - 3
core/hdd/src/wlan_hdd_driver_ops.c

@@ -679,12 +679,11 @@ static int hdd_soc_recovery_reinit(struct device *dev,
 		return errno;
 
 	errno = __hdd_soc_recovery_reinit(dev, bdev, bid, bus_type);
-	if (errno)
-		return errno;
+
 
 	osif_psoc_sync_trans_stop(psoc_sync);
 
-	return 0;
+	return errno;
 }
 
 static void __hdd_soc_remove(struct device *dev)