summaryrefslogtreecommitdiff
path: root/reglib.c
diff options
context:
space:
mode:
authorLuis R. Rodriguez <mcgrof@frijolero.org>2012-01-18 17:43:34 -0800
committerLuis R. Rodriguez <mcgrof@frijolero.org>2012-01-18 17:51:24 -0800
commit271fb366ffe0988482325a83a9b3d9bc4dc31566 (patch)
tree550fe5645df6001f21767b918820df34937c2c03 /reglib.c
parent7ce0874d14662275c38b50aa9dee7c841b593862 (diff)
downloadcrda-271fb366ffe0988482325a83a9b3d9bc4dc31566.tar.gz
crda-271fb366ffe0988482325a83a9b3d9bc4dc31566.tar.bz2
crda-271fb366ffe0988482325a83a9b3d9bc4dc31566.zip
crda: add dfs_region to the ieee80211_regdomain data structure
This will be used later once crda.c starts using the ieee80211_regdomain data structure passed on from reglib instead of using the mmap()'d regulatory file directly. Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
Diffstat (limited to 'reglib.c')
-rw-r--r--reglib.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/reglib.c b/reglib.c
index 642f907..759c676 100644
--- a/reglib.c
+++ b/reglib.c
@@ -212,6 +212,7 @@ struct ieee80211_regdomain *country2rd(uint8_t *db, int dblen,
rd->alpha2[0] = country->alpha2[0];
rd->alpha2[1] = country->alpha2[1];
+ rd->dfs_region = country->creqs & 0x3;
rd->n_reg_rules = num_rules;
for (i = 0; i < num_rules; i++) {