From 7b1e1497b751311b56220889561509ba8f699759 Mon Sep 17 00:00:00 2001 From: James Prestwood Date: Wed, 16 Oct 2019 15:29:49 -0700 Subject: [PATCH] ie: fix uninitialized rx/tx_nss values --- src/ie.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ie.c b/src/ie.c index e90b5cfa..4bc56589 100644 --- a/src/ie.c +++ b/src/ie.c @@ -1912,9 +1912,9 @@ static int ie_parse_vht_capability(struct ie_tlv_iter *vht_iter, uint8_t rx_mcs_map[2]; uint8_t tx_mcs_map[2]; unsigned int max_rx_mcs = 0; - unsigned int rx_nss; + unsigned int rx_nss = 1; unsigned int max_tx_mcs = 0; - unsigned int tx_nss; + unsigned int tx_nss = 1; uint8_t ht_cap; bool short_gi_20mhz; bool short_gi_40mhz;