summaryrefslogtreecommitdiffstats
path: root/sys/dev/ath/ath_hal/ah_regdomain.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/ath/ath_hal/ah_regdomain.c')
-rw-r--r--sys/dev/ath/ath_hal/ah_regdomain.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/dev/ath/ath_hal/ah_regdomain.c b/sys/dev/ath/ath_hal/ah_regdomain.c
index 807db44..fb0c841 100644
--- a/sys/dev/ath/ath_hal/ah_regdomain.c
+++ b/sys/dev/ath/ath_hal/ah_regdomain.c
@@ -169,6 +169,11 @@ isEepromValid(struct ath_hal *ah)
if (regDomainPairs[i].regDmnEnum == rd)
return AH_TRUE;
}
+
+ if (rd == FCC_UBNT) {
+ return AH_TRUE;
+ }
+
HALDEBUG(ah, HAL_DEBUG_REGDOMAIN,
"%s: invalid regulatory domain/country code 0x%x\n", __func__, rd);
return AH_FALSE;
OpenPOWER on IntegriCloud