Преглед изворни кода

qcacld-3.0: Convert wlan_hdd_lro.c to unified logging

Currently the HDD code uses a variety of logging APIs.  In qcacld-3.0
HDD should converge on a unified set of logging APIs.  Update
wlan_hdd_lro.c to use the unified set of APIs.

Change-Id: I72bf2b55390e1c72706077d22f61e59d17d14f13
CRs-Fixed: 937662
Jeff Johnson пре 9 година
родитељ
комит
016329735f
1 измењених фајлова са 5 додато и 2 уклоњено
  1. 5 2
      core/hdd/src/wlan_hdd_lro.c

+ 5 - 2
core/hdd/src/wlan_hdd_lro.c

@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015 The Linux Foundation. All rights reserved.
+ * Copyright (c) 2015-2016 The Linux Foundation. All rights reserved.
  *
  * Previously licensed under the ISC license by Qualcomm Atheros, Inc.
  *
@@ -30,6 +30,9 @@
  * WLAN HDD LRO interface implementation
  */
 
+/* denote that this file does not allow legacy hddLog */
+#define HDD_DISALLOW_LEGACY_HDDLOG 1
+
 #include <wlan_hdd_includes.h>
 #include <cdf_types.h>
 #include <wlan_hdd_lro.h>
@@ -458,7 +461,7 @@ int hdd_lro_init(hdd_context_t *hdd_ctx)
 	struct wma_lro_config_cmd_t lro_config;
 
 	if (!hdd_ctx->config->lro_enable) {
-		hdd_err(FL("LRO Disabled"));
+		hdd_err("LRO Disabled");
 		return 0;
 	}