summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2017-04-14 10:11:31 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2017-04-14 10:11:31 -0700
commiteb3789e5ecbdf29d92f9af5cb6f2479d32a3e4ab (patch)
tree0ba7380dd96ecbda115eed4f8e31315ea12e7763
parent71cb0da488414e597d74a058ff09c95d20ab2a24 (diff)
parent25d33bfe508e6c7e904cb1f82fbc05d32d2fea1b (diff)
Merge "qcacld-2.0: initialize proto_type in STA and SAP rx packet callback" into wlan-cld2.driver.lnx.1.0-dev
-rw-r--r--CORE/HDD/src/wlan_hdd_softap_tx_rx.c2
-rw-r--r--CORE/HDD/src/wlan_hdd_tx_rx.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/CORE/HDD/src/wlan_hdd_softap_tx_rx.c b/CORE/HDD/src/wlan_hdd_softap_tx_rx.c
index 71c6169c996e..a9487d4d4870 100644
--- a/CORE/HDD/src/wlan_hdd_softap_tx_rx.c
+++ b/CORE/HDD/src/wlan_hdd_softap_tx_rx.c
@@ -830,7 +830,7 @@ VOS_STATUS hdd_softap_rx_packet_cbk(v_VOID_t *vosContext,
struct sk_buff *skb = NULL;
hdd_context_t *pHddCtx = NULL;
#ifdef QCA_PKT_PROTO_TRACE
- v_U8_t proto_type;
+ v_U8_t proto_type = 0;
#endif /* QCA_PKT_PROTO_TRACE */
struct sk_buff *skb_next;
unsigned int cpu_index;
diff --git a/CORE/HDD/src/wlan_hdd_tx_rx.c b/CORE/HDD/src/wlan_hdd_tx_rx.c
index e421c0c7bd59..bb1391cef235 100644
--- a/CORE/HDD/src/wlan_hdd_tx_rx.c
+++ b/CORE/HDD/src/wlan_hdd_tx_rx.c
@@ -1304,7 +1304,7 @@ VOS_STATUS hdd_rx_packet_cbk(v_VOID_t *vosContext,
struct sk_buff *skb_next;
unsigned int cpu_index;
#ifdef QCA_PKT_PROTO_TRACE
- v_U8_t proto_type;
+ v_U8_t proto_type = 0;
#endif /* QCA_PKT_PROTO_TRACE */
hdd_station_ctx_t *pHddStaCtx = NULL;
bool wake_lock = false;