wlanap.cgi: add country code 00;

regdump not display this anymore.
This commit is contained in:
Arne Fitzenreiter
2015-01-04 22:11:44 +01:00
parent 97c73abc88
commit 8e23b35195

View File

@@ -291,7 +291,7 @@ if ( $channel =~ /\d+/ ){push(@temp,$channel);}
my @countrylist_cmd = `regdbdump /usr/lib/crda/regulatory.bin 2>/dev/null`;
# get available country codes
my @temp;
my @temp = "00";
foreach (@countrylist_cmd){
$_ =~ /country (.*):/;
$country = $1;chomp $country;