diff options
| author | Anurag Chouhan <achouhan@codeaurora.org> | 2016-02-16 18:18:03 +0530 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2016-03-24 11:57:34 -0700 |
| commit | ce0dc99ca85170769a4ea0a68b30308743d3e409 (patch) | |
| tree | 6dc095d3ceb06623b23e2b6fa7496eccb0ac116c /core/utils | |
| parent | 43d47fa65920a8a91ca17b315701a324d9bcef61 (diff) | |
qcacld-3.0: Add qdf event API's
Replace CDF event API's with QDF event API's
Change-Id: I1d75c9ca01cc6bd7cac42f1ae4c1dd78f37b3d26
CRs-Fixed: 981188
Diffstat (limited to 'core/utils')
| -rw-r--r-- | core/utils/logging/inc/wlan_logging_sock_svc.h | 3 | ||||
| -rw-r--r-- | core/utils/ptt/inc/wlan_ptt_sock_svc.h | 1 | ||||
| -rw-r--r-- | core/utils/ptt/src/wlan_ptt_sock_svc.c | 6 |
3 files changed, 7 insertions, 3 deletions
diff --git a/core/utils/logging/inc/wlan_logging_sock_svc.h b/core/utils/logging/inc/wlan_logging_sock_svc.h index c9070ab23480..5aa52459265f 100644 --- a/core/utils/logging/inc/wlan_logging_sock_svc.h +++ b/core/utils/logging/inc/wlan_logging_sock_svc.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014-2015 The Linux Foundation. All rights reserved. + * Copyright (c) 2014-2016 The Linux Foundation. All rights reserved. * * Previously licensed under the ISC license by Qualcomm Atheros, Inc. * @@ -35,6 +35,7 @@ #include <wlan_nlink_srv.h> #include <cdf_status.h> +#include <qdf_status.h> #include <cdf_trace.h> #include <wlan_nlink_common.h> diff --git a/core/utils/ptt/inc/wlan_ptt_sock_svc.h b/core/utils/ptt/inc/wlan_ptt_sock_svc.h index a328d8ecc3d0..cc843856616b 100644 --- a/core/utils/ptt/inc/wlan_ptt_sock_svc.h +++ b/core/utils/ptt/inc/wlan_ptt_sock_svc.h @@ -34,6 +34,7 @@ #include <wlan_nlink_srv.h> #include <cdf_types.h> #include <cdf_status.h> +#include <qdf_status.h> #include <cdf_trace.h> #include <wlan_nlink_common.h> /* diff --git a/core/utils/ptt/src/wlan_ptt_sock_svc.c b/core/utils/ptt/src/wlan_ptt_sock_svc.c index b9a9c12c3320..409d3cfe24a3 100644 --- a/core/utils/ptt/src/wlan_ptt_sock_svc.c +++ b/core/utils/ptt/src/wlan_ptt_sock_svc.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012-2015 The Linux Foundation. All rights reserved. + * Copyright (c) 2012-2016 The Linux Foundation. All rights reserved. * * Previously licensed under the ISC license by Qualcomm Atheros, Inc. * @@ -33,6 +33,7 @@ #include <wlan_nlink_srv.h> #include <cdf_types.h> #include <cdf_status.h> +#include <qdf_status.h> #include <cdf_trace.h> #include <wlan_nlink_common.h> #include <wlan_ptt_sock_svc.h> @@ -96,7 +97,8 @@ int ptt_sock_send_msg_to_app(tAniHdr *wmsg, int radio, int src_mod, int pid) } payload_len = wmsg_length + 4; /* 4 extra bytes for the radio idx */ tot_msg_len = NLMSG_SPACE(payload_len); - if ((skb = dev_alloc_skb(tot_msg_len)) == NULL) { + skb = dev_alloc_skb(tot_msg_len); + if (skb == NULL) { PTT_TRACE(CDF_TRACE_LEVEL_ERROR, "%s: dev_alloc_skb() failed for msg size[%d]\n", __func__, tot_msg_len); |
