1
0
Fork 0

cfg80211: fix parsing when db.txt ends on a rule

If genregdb.awk assumes the file will end with an
extra empty line or a comment line. This is could
not be true so just address this.

Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
Acked-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
wifi-calibration
Luis R. Rodriguez 2013-10-28 03:19:46 +01:00 committed by Johannes Berg
parent af9b223551
commit ae689390b0
1 changed files with 2 additions and 0 deletions

View File

@ -143,6 +143,8 @@ active && /^[ \t]*$/ {
}
END {
if (active)
print_tail_country()
print regdb "};"
print ""
print "int reg_regdb_size = ARRAY_SIZE(reg_regdb);"