⬢ DragonFlyBSD Kernel Audit
DF-5038 / fix.diff
← back to finding ↓ download raw
--- a/sys/dev/netif/ath/ath_hal/ar9001/ar9130_attach.c
+++ b/sys/dev/netif/ath/ath_hal/ar9001/ar9130_attach.c
@@ -204,14 +204,12 @@
 				AR_RAD5133_SREV_MAJOR;
 			break;
 		}
-#ifdef AH_DEBUG
 		HALDEBUG(ah, HAL_DEBUG_ANY,
 		    "%s: 5G Radio Chip Rev 0x%02X is not supported by "
 		    "this driver\n", __func__,
 		    AH_PRIVATE(ah)->ah_analog5GhzRev);
 		ecode = HAL_ENOTSUPP;
 		goto bad;
-#endif
 	}
 	rfStatus = ar2133RfAttach(ah, &ecode);
 	if (!rfStatus) {