Browse Source

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 years ago
parent
commit
fc8ed77d76
1 changed files with 0 additions and 2 deletions
  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)) {
 	if (!QDF_IS_STATUS_SUCCESS(status)) {
 		hdd_err("hif_enable failed status: %d, reinit: %d",
 		hdd_err("hif_enable failed status: %d, reinit: %d",
 			status, reinit);
 			status, reinit);
-		if (!cds_is_fw_down())
-			QDF_BUG(0);
 
 
 		ret = qdf_status_to_os_return(status);
 		ret = qdf_status_to_os_return(status);
 		goto err_hif_close;
 		goto err_hif_close;