Pārlūkot izejas kodu

qcacld-3.0: Replace hdd_log() in core/hdd/src/wlan_hdd_main.c

In qcacld-3.0 HDD has converged on a core set of service level logging
APIs.  However there are instances in wlan_hdd_main.c of the hdd_log()
helper API being called directly instead of using the service level
APIs.  Replace those instances.

Change-Id: I36ccc64005a571d3d658211fea5711261bcff8f3
CRs-Fixed: 1058338
Jeff Johnson 8 gadi atpakaļ
vecāks
revīzija
b7082ae53d
1 mainītis faili ar 3 papildinājumiem un 7 dzēšanām
  1. 3 7
      core/hdd/src/wlan_hdd_main.c

+ 3 - 7
core/hdd/src/wlan_hdd_main.c

@@ -4743,9 +4743,7 @@ void hdd_exchange_version_and_caps(hdd_context_t *hdd_ctx)
 							 versionString,
 							 sizeof(versionString));
 		if (!QDF_IS_STATUS_SUCCESS(vstatus)) {
-			hdd_alert(FL(
-				  "unable to retrieve WCNSS hardware version string"
-				 ));
+			hdd_alert("unable to retrieve WCNSS hardware version string");
 			break;
 		}
 
@@ -4899,8 +4897,7 @@ void hdd_pld_request_bus_bandwidth(hdd_context_t *hdd_ctx,
 				hdd_ctx->hbw_requested = false;
 			}
 			if (cds_sched_handle_throughput_req(false))
-				hdd_log(LOGE,
-				   FL("low bandwidth set rx affinity fail"));
+				hdd_err("low bandwidth set rx affinity fail");
 		 } else {
 			if (!hdd_ctx->hbw_requested) {
 				pld_request_pm_qos(hdd_ctx->parent_dev, 1);
@@ -4908,8 +4905,7 @@ void hdd_pld_request_bus_bandwidth(hdd_context_t *hdd_ctx,
 			}
 
 			if (cds_sched_handle_throughput_req(true))
-				hdd_log(LOGE,
-				   FL("high bandwidth set rx affinity fail"));
+				hdd_err("high bandwidth set rx affinity fail");
 		 }
 	}