zd1211rw: change ZD_REGDOMAIN_JAPAN_* naming
authorJohn W. Linville <linville@tuxdriver.com>
Wed, 16 Jun 2010 18:41:36 +0000 (14:41 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 16 Jun 2010 18:58:46 +0000 (14:58 -0400)
ZD_REGDOMAIN_JAPAN_ADD and ZD_REGDOMAIN_JAPAN_GW_US54GXS seem a little
verbose to me...

Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/zd1211rw/zd_mac.c
drivers/net/wireless/zd1211rw/zd_mac.h

index faf45f163a57f731a326a4f8b1c00e7bd66d7729..43307bd42a697c3bad30ee69a89e573a07146f48 100644 (file)
@@ -42,8 +42,8 @@ static struct zd_reg_alpha2_map reg_alpha2_map[] = {
        { ZD_REGDOMAIN_IC, "CA" },
        { ZD_REGDOMAIN_ETSI, "DE" }, /* Generic ETSI, use most restrictive */
        { ZD_REGDOMAIN_JAPAN, "JP" },
-       { ZD_REGDOMAIN_JAPAN_ADD, "JP" },
-       { ZD_REGDOMAIN_JAPAN_GW_US54GXS, "JP" },
+       { ZD_REGDOMAIN_JAPAN_2, "JP" },
+       { ZD_REGDOMAIN_JAPAN_3, "JP" },
        { ZD_REGDOMAIN_SPAIN, "ES" },
        { ZD_REGDOMAIN_FRANCE, "FR" },
 };
index 7ab19d5455ff1fbf03237a2b5c7f2eb25d3a8861..d21739a530eca7b40274e95f296566e753b2b978 100644 (file)
@@ -212,9 +212,9 @@ struct zd_mac {
 #define ZD_REGDOMAIN_ETSI      0x30
 #define ZD_REGDOMAIN_SPAIN     0x31
 #define ZD_REGDOMAIN_FRANCE    0x32
-#define ZD_REGDOMAIN_JAPAN_ADD 0x40
+#define ZD_REGDOMAIN_JAPAN_2   0x40
 #define ZD_REGDOMAIN_JAPAN     0x41
-#define ZD_REGDOMAIN_JAPAN_GW_US54GXS  0x49
+#define ZD_REGDOMAIN_JAPAN_  0x49
 
 enum {
        MIN_CHANNEL24 = 1,