DragonFlyBSD Kernel Audit
DF-0321 / fix.diff
← back to finding ↓ download raw
diff --git a/sys/netproto/802_11/wlan/ieee80211_ht.c b/sys/netproto/802_11/wlan/ieee80211_ht.c
--- a/sys/netproto/802_11/wlan/ieee80211_ht.c
+++ b/sys/netproto/802_11/wlan/ieee80211_ht.c
@@ -1640,7 +1640,7 @@
 	struct ieee80211vap *vap = ni->ni_vap;
 	const struct ieee80211_ie_htcap *htcap;
 	struct ieee80211_htrateset *rs;
-	int i, maxequalmcs, maxunequalmcs;
+	int i, maxequalmcs, maxunequalmcs = 0;
 
 	maxequalmcs = ic->ic_txstream * 8 - 1;
 	if (ic->ic_htcaps & IEEE80211_HTC_TXUNEQUAL) {