[qca-nss-clients] Modify capwapmgr & profiler for compilation
Modify internal variables and header file inclusion for capwapmgr
& profiler for successful compilation of the modules.
Change-Id: I4bb23fe013f154125a47bf2e3e82c02efa2bea5f
Signed-off-by: Sundarajan Srinivasan <sundaraj@codeaurora.org>
diff --git a/profiler/profile.c b/profiler/profile.c
index e082bd7..b9c5d24 100644
--- a/profiler/profile.c
+++ b/profiler/profile.c
@@ -33,9 +33,7 @@
#include <asm/uaccess.h>
#include <asm/page.h>
#include <asm/thread_info.h>
-
-#define NSS_PKT_STATS_ENABLED 0 /* nss_core.h has no default DEF for NSS_PKT_STATS_ENABLED */
-#include "nss_core.h" /* needs only the number of NSS CORES */
+#include <nss_api_if.h>
#include "profilenode.h"
#include "profpkt.h"
@@ -720,7 +718,7 @@
{
switch (ncm->response) {
default:
- nss_warning("%p: profiler had error response %d\n", nss_ctx, ncm->response);
+ profileWarn("%p: profiler had error response %d\n", nss_ctx, ncm->response);
/*
* fail through -- no plan to do anything yet
*/