From eb865bb051e105dfdfb053a8ae10dddbae79a855 Mon Sep 17 00:00:00 2001 From: wadesong Date: Wed, 9 Jan 2019 19:01:06 +0800 Subject: [PATCH] qcacld-3.0: Add a missing increment for fw module id When host driver is setting the fw log level, there is a chance for the loop to be unable to exit when a certain fw module's log level is incorrectly set. Add an additional increment to the fw module id when a certain fw module's log level is incorrectly set. Change-Id: Id5a0268536a4d6b74732515dac43f583174c9e51 CRs-Fixed: 2378208 --- core/sme/src/common/sme_api.c | 1 + 1 file changed, 1 insertion(+) diff --git a/core/sme/src/common/sme_api.c b/core/sme/src/common/sme_api.c index bca38f1210de..181857e28512 100644 --- a/core/sme/src/common/sme_api.c +++ b/core/sme/src/common/sme_api.c @@ -14903,6 +14903,7 @@ void sme_enable_fw_module_log_level(mac_handle_t mac_handle, int vdev_id) sme_err("Module id %d or dbglog level %d input value is more than max", enable_fw_module_log_level[count], enable_fw_module_log_level[count + 1]); + count += 2; continue; }