mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
qcacmn: Limiting a function declaration within CONFIG_MCL
Function dbglog_set_log_lvl needs to be commented out for WIN compilation since enum DBG_LOG_LVL is not converged. Functions nl_srv_bcast and nl_srv_is_initialized needs to be exported out for pushing FW Diag Log events to user-space (cnss-diag) CRs-Fixed: 2048651 Change-Id: I57a4bd3d78680b97bd75191ca58349abeb77240a
This commit is contained in:
parent
4140c76598
commit
5a0a7073fd
2 changed files with 15 additions and 1 deletions
|
|
@ -50,6 +50,7 @@
|
|||
#include <net/sock.h>
|
||||
#include <wlan_nlink_srv.h>
|
||||
#include <qdf_trace.h>
|
||||
#include <qdf_module.h>
|
||||
|
||||
#ifdef CNSS_GENL
|
||||
#include <qdf_mem.h>
|
||||
|
|
@ -196,6 +197,7 @@ int nl_srv_bcast(struct sk_buff *skb)
|
|||
dev_kfree_skb(skb);
|
||||
return err;
|
||||
}
|
||||
qdf_export_symbol(nl_srv_bcast);
|
||||
|
||||
/**
|
||||
* nl_srv_unregister() - wrapper function to unregister event to cnss_logger
|
||||
|
|
@ -271,6 +273,7 @@ inline int nl_srv_is_initialized(void)
|
|||
else
|
||||
return -EPERM;
|
||||
}
|
||||
qdf_export_symbol(nl_srv_is_initialized);
|
||||
|
||||
#else
|
||||
|
||||
|
|
@ -510,6 +513,7 @@ int nl_srv_bcast(struct sk_buff *skb, int mcgroup_id, int app_id)
|
|||
qdf_mem_free(tempbuf);
|
||||
return 0;
|
||||
}
|
||||
qdf_export_symbol(nl_srv_bcast);
|
||||
|
||||
/**
|
||||
* nl_srv_ucast() - wrapper function to do unicast events to user space apps
|
||||
|
|
@ -605,6 +609,7 @@ int nl_srv_bcast(struct sk_buff *skb)
|
|||
dev_kfree_skb(skb);
|
||||
return err;
|
||||
}
|
||||
qdf_export_symbol(nl_srv_bcast);
|
||||
#endif
|
||||
|
||||
/*
|
||||
|
|
@ -713,6 +718,7 @@ int nl_srv_is_initialized(void)
|
|||
|
||||
return -EPERM;
|
||||
}
|
||||
qdf_export_symbol(nl_srv_is_initialized);
|
||||
#endif
|
||||
#else /* ifndef MULTI_IF_NAME */
|
||||
|
||||
|
|
@ -746,14 +752,15 @@ int nl_srv_bcast(struct sk_buff *skb)
|
|||
{
|
||||
return 0;
|
||||
}
|
||||
qdf_export_symbol(nl_srv_bcast);
|
||||
|
||||
int nl_srv_is_initialized(void)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
qdf_export_symbol(nl_srv_is_initialized);
|
||||
#endif
|
||||
|
||||
|
||||
/**
|
||||
* nl_srv_ucast_oem() - Wrapper function to send ucast msgs to OEM
|
||||
* @skb: sk buffer pointer
|
||||
|
|
|
|||
Loading…
Reference in a new issue