소스 검색

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;