Prechádzať zdrojové kódy

qcacld-3.0: Fix misspelled entry in the enum wifi_logging_ring_id

This is qcacld-2.0 to qcacld-3.0 propagation

Fix the misspelled entry RIND_ID_DRIVER_DEBUG to
RING_ID_DRIVER_DEBUG in the enum wifi_logging_ring_id

CRs-Fixed: 938286
Change-Id: I0d33128c6d11ecc9ff3d403931bfd6bfdbbb2b4a
Chandrasekaran, Manishekar 9 rokov pred
rodič
commit
907c2af8d6
2 zmenil súbory, kde vykonal 4 pridanie a 4 odobranie
  1. 2 2
      core/cds/src/cds_api.c
  2. 2 2
      core/mac/inc/ani_global.h

+ 2 - 2
core/cds/src/cds_api.c

@@ -1807,7 +1807,7 @@ void cds_set_ring_log_level(uint32_t ring_id, uint32_t log_level)
 	} else if (ring_id == RING_ID_PER_PACKET_STATS) {
 		p_cds_context->packet_stats_log_level = log_val;
 		return;
-	} else if (ring_id == RIND_ID_DRIVER_DEBUG) {
+	} else if (ring_id == RING_ID_DRIVER_DEBUG) {
 		p_cds_context->driver_debug_log_level = log_val;
 		return;
 	} else if (ring_id == RING_ID_FIRMWARE_DEBUG) {
@@ -1841,7 +1841,7 @@ enum wifi_driver_log_level cds_get_ring_log_level(uint32_t ring_id)
 		return p_cds_context->connectivity_log_level;
 	else if (ring_id == RING_ID_PER_PACKET_STATS)
 		return p_cds_context->packet_stats_log_level;
-	else if (ring_id == RIND_ID_DRIVER_DEBUG)
+	else if (ring_id == RING_ID_DRIVER_DEBUG)
 		return p_cds_context->driver_debug_log_level;
 	else if (ring_id == RING_ID_FIRMWARE_DEBUG)
 		return p_cds_context->fw_debug_log_level;

+ 2 - 2
core/mac/inc/ani_global.h

@@ -232,7 +232,7 @@ enum wifi_driver_log_level {
  * @RING_ID_WAKELOCK:         Power events ring id
  * @RING_ID_CONNECTIVITY:     Connectivity event ring id
  * @RING_ID_PER_PACKET_STATS: Per packet statistic ring id
- * @RIND_ID_DRIVER_DEBUG:     Driver debug messages ring id
+ * @RING_ID_DRIVER_DEBUG:     Driver debug messages ring id
  * @RING_ID_FIRMWARE_DEBUG:   Firmware debug messages ring id
  *
  * This enum has the ring id values of logging rings
@@ -241,7 +241,7 @@ enum wifi_logging_ring_id {
 	RING_ID_WAKELOCK,
 	RING_ID_CONNECTIVITY,
 	RING_ID_PER_PACKET_STATS,
-	RIND_ID_DRIVER_DEBUG,
+	RING_ID_DRIVER_DEBUG,
 	RING_ID_FIRMWARE_DEBUG,
 };