summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;