diff options
| author | Leo Chang <schang@qca.qualcomm.com> | 2014-04-25 16:43:24 -0700 |
|---|---|---|
| committer | Akash Patel <c_akashp@qca.qualcomm.com> | 2014-04-26 00:48:16 -0700 |
| commit | ce829ff5ad76fce6a800e8ccd41315673fefca23 (patch) | |
| tree | fe9ae1c655a83b61e95eadbc5e71cbe99bf70066 | |
| parent | baa0a5703a6968efc2d9148bd055ae685f1d6be6 (diff) | |
qcacld: ipa: compile error fix
kernel build has compile error with missing arg.
Change-Id: I97f7cb9e620c1202a46710211c0f7e5a872b6d90
CRs-fixed: 642420
| -rw-r--r-- | CORE/CLD_TXRX/TLSHIM/tl_shim.c | 2 | ||||
| -rw-r--r-- | CORE/CLD_TXRX/TLSHIM/tl_shim.h | 1 | ||||
| -rw-r--r-- | CORE/HDD/src/wlan_hdd_ipa.c | 1 |
3 files changed, 3 insertions, 1 deletions
diff --git a/CORE/CLD_TXRX/TLSHIM/tl_shim.c b/CORE/CLD_TXRX/TLSHIM/tl_shim.c index 034bc8f5de49..7d86d3454140 100644 --- a/CORE/CLD_TXRX/TLSHIM/tl_shim.c +++ b/CORE/CLD_TXRX/TLSHIM/tl_shim.c @@ -1042,7 +1042,7 @@ adf_nbuf_t WLANTL_SendIPA_DataFrame(void *vos_ctx, void *vdev, if (!adf_os_atomic_read(&tl_shim->vdev_active[interface_id])) { TLSHIM_LOGW("INACTIVE VDEV"); - return nbuf; + return skb; } if ((tl_shim->ip_checksum_offload) && (skb->protocol == htons(ETH_P_IP)) diff --git a/CORE/CLD_TXRX/TLSHIM/tl_shim.h b/CORE/CLD_TXRX/TLSHIM/tl_shim.h index 8b9b92ef08d2..bb675cc34618 100644 --- a/CORE/CLD_TXRX/TLSHIM/tl_shim.h +++ b/CORE/CLD_TXRX/TLSHIM/tl_shim.h @@ -30,6 +30,7 @@ #include <ol_txrx_osif_api.h> #include <adf_os_lock.h> +#include <adf_os_atomic.h> #ifdef FEATURE_WLAN_ESE typedef struct deferred_iapp_work { diff --git a/CORE/HDD/src/wlan_hdd_ipa.c b/CORE/HDD/src/wlan_hdd_ipa.c index f1d12637284a..12039ce9b2c8 100644 --- a/CORE/HDD/src/wlan_hdd_ipa.c +++ b/CORE/HDD/src/wlan_hdd_ipa.c @@ -1728,6 +1728,7 @@ VOS_STATUS hdd_ipa_cleanup(hdd_context_t *hdd_ctx) { struct hdd_ipa_priv *hdd_ipa = hdd_ctx->hdd_ipa; int i; + struct hdd_ipa_iface_context *iface_context = NULL; if (!hdd_ipa_is_enabled(hdd_ctx)) return VOS_STATUS_SUCCESS; |
