summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCNSS_WLAN Service <cnssbldsw@qualcomm.com>2018-05-14 23:34:19 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2018-05-14 23:34:19 -0700
commit25e0c67a4dfd7037488b95faf81dfccfa1cf49a2 (patch)
tree31471f2fc9d38f98452c6bf17913b937dc646323
parent2947e94051ec9c72fc27a3c56e31b19c1547ff16 (diff)
parentdd4fe53156eb933fdacddd27dc519d161b2aeba2 (diff)
Merge "qcacld-2.0: Fix pl_info->log_stat update" into wlan-cld2.driver.lnx.1.0
-rw-r--r--CORE/UTILS/PKTLOG/pktlog_ac.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/CORE/UTILS/PKTLOG/pktlog_ac.c b/CORE/UTILS/PKTLOG/pktlog_ac.c
index 679a78ccfab0..9141a2ba85ae 100644
--- a/CORE/UTILS/PKTLOG/pktlog_ac.c
+++ b/CORE/UTILS/PKTLOG/pktlog_ac.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2012-2017 The Linux Foundation. All rights reserved.
+ * Copyright (c) 2012-2018 The Linux Foundation. All rights reserved.
*
* Previously licensed under the ISC license by Qualcomm Atheros, Inc.
*
@@ -379,6 +379,7 @@ __pktlog_enable(struct ol_softc *scn, int32_t log_state)
} else {
pl_dev->tgt_pktlog_enabled = true;
}
+ pl_info->log_state = log_state;
} else if (!log_state && pl_dev->tgt_pktlog_enabled) {
pl_dev->pl_funcs->pktlog_disable(scn);
pl_dev->tgt_pktlog_enabled = false;
@@ -387,9 +388,9 @@ __pktlog_enable(struct ol_softc *scn, int32_t log_state)
__func__);
return A_ERROR;
}
+ pl_info->log_state = log_state;
}
- pl_info->log_state = log_state;
return 0;
}