3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2025-01-03 19:02:34 +01:00

ie: fix uninitialized rx/tx_nss values

This commit is contained in:
James Prestwood 2019-10-16 15:29:49 -07:00 committed by Denis Kenzior
parent a8e935ee77
commit 7b1e1497b7

View File

@ -1912,9 +1912,9 @@ static int ie_parse_vht_capability(struct ie_tlv_iter *vht_iter,
uint8_t rx_mcs_map[2]; uint8_t rx_mcs_map[2];
uint8_t tx_mcs_map[2]; uint8_t tx_mcs_map[2];
unsigned int max_rx_mcs = 0; unsigned int max_rx_mcs = 0;
unsigned int rx_nss; unsigned int rx_nss = 1;
unsigned int max_tx_mcs = 0; unsigned int max_tx_mcs = 0;
unsigned int tx_nss; unsigned int tx_nss = 1;
uint8_t ht_cap; uint8_t ht_cap;
bool short_gi_20mhz; bool short_gi_20mhz;
bool short_gi_40mhz; bool short_gi_40mhz;