浏览代码

qcacld-3.0: Do not invoke panic on mode request failure

Mode request at icnss can timeout when FW is crashed. Currently
driver invokes panic in this case, if the FW down indication is
not received. However there could be a race condition where the
timeout at driver can happen even before icnss receives this FW
down notification. So remove the panic to allow recovery to
kick in.

CRs-Fixed: 2070795
Change-Id: Ibeace13bd08751618424ad68e39e9b053c9be97e
Sameer Thalappil 8 年之前
父节点
当前提交
fc8ed77d76
共有 1 个文件被更改,包括 0 次插入2 次删除
  1. 0 2
      core/hdd/src/wlan_hdd_driver_ops.c

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

@@ -233,8 +233,6 @@ int hdd_hif_open(struct device *dev, void *bdev, const struct hif_bus_id *bid,
 	if (!QDF_IS_STATUS_SUCCESS(status)) {
 		hdd_err("hif_enable failed status: %d, reinit: %d",
 			status, reinit);
-		if (!cds_is_fw_down())
-			QDF_BUG(0);
 
 		ret = qdf_status_to_os_return(status);
 		goto err_hif_close;