Message ID | 1382926786-7904-3-git-send-email-mcgrof@do-not-panic.com (mailing list archive) |
---|---|
State | Not Applicable, archived |
Headers | show |
diff --git a/net/wireless/genregdb.awk b/net/wireless/genregdb.awk index 95baf61..13b982d 100755 --- a/net/wireless/genregdb.awk +++ b/net/wireless/genregdb.awk @@ -140,6 +140,8 @@ active && /^[ \t]*$/ { } END { + if (active) + print_tail_country() print regdb "};" print "" print "int reg_regdb_size = ARRAY_SIZE(reg_regdb);"
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> --- net/wireless/genregdb.awk | 2 ++ 1 file changed, 2 insertions(+)