fix typo
authorJohannes Berg <johannes@sipsolutions.net>
Sat, 24 May 2008 23:39:59 +0000 (01:39 +0200)
committerJohannes Berg <johannes@sipsolutions.net>
Sat, 24 May 2008 23:39:59 +0000 (01:39 +0200)
dump.c
regdb.h

diff --git a/dump.c b/dump.c
index 8254160..4e22d3c 100644 (file)
--- a/dump.c
+++ b/dump.c
@@ -68,7 +68,7 @@ static void print_reg_rule(__u8 *db, int dblen, __be32 ruleptr)
               (float)ntohl(power->max_antenna_gain/100.0),
               (float)ntohl(power->max_ir_ptmp/100.0),
               (float)ntohl(power->max_ir_ptp/100.0),
-              (float)ntohl(power->max_eirp_pmtp/100.0),
+              (float)ntohl(power->max_eirp_ptmp/100.0),
               (float)ntohl(power->max_eirp_ptp)/100.0);
 }
 
diff --git a/regdb.h b/regdb.h
index e2fcf80..3c7983f 100644 (file)
--- a/regdb.h
+++ b/regdb.h
@@ -60,7 +60,7 @@ struct regdb_file_power_rule {
        /* these are in mBm (100 * dBm) */
        __be32  max_ir_ptmp,
                max_ir_ptp,
-               max_eirp_pmtp,
+               max_eirp_ptmp,
                max_eirp_ptp;
 };