DragonFlyBSD Kernel Audit
DF-1718 / fix.diff
← back to finding ↓ download raw
diff --git a/sys/dev/netif/ath/ath_hal/ar5212/ar5112.c b/sys/dev/netif/ath/ath_hal/ar5212/ar5112.c
--- a/sys/dev/netif/ath/ath_hal/ar5212/ar5112.c
+++ b/sys/dev/netif/ath/ath_hal/ar5212/ar5112.c
@@ -789,6 +789,7 @@
 		data = powerArray[headerInfo11B].pDataPerChannel;
 		numChannels = powerArray[headerInfo11B].numChannels;
 	} else {
+		*minPow = 0;
 		return (AH_TRUE);
 	}
 	/* Make sure the channel is in the range of the TP values