]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Remove duplicated country code from operating class lists
authorJouni Malinen <j@w1.fi>
Sun, 14 Jun 2015 14:40:10 +0000 (17:40 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 14 Jun 2015 14:40:10 +0000 (17:40 +0300)
CA country code was included mistakenly (copy-paste..) in cn_op_class_cc
while it was supposed to be included only in us_op_class_cc. In
practice, this did not result in incorrect operation due to the
us_op_class_cc list being checked first. Anyway, better fix
cn_op_class_cc to avoid confusion here.

Signed-off-by: Jouni Malinen <j@w1.fi>
src/common/ieee802_11_common.c

index 284d6301b4fea758df1f70ff12545b60fc15c3f3..82dd7074236a05908930a30c9c283f7c3ff5f79e 100644 (file)
@@ -580,7 +580,7 @@ static const char *const jp_op_class_cc[] = {
 };
 
 static const char *const cn_op_class_cc[] = {
-       "CN", "CA", NULL
+       "CN", NULL
 };