From: Arne Fitzenreiter Date: Sun, 4 Jan 2015 21:11:44 +0000 (+0100) Subject: wlanap.cgi: add country code 00; X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8e23b35195bd004c64bb83b45d4358488a2dc67e;p=people%2Fms%2Fipfire-2.x.git wlanap.cgi: add country code 00; regdump not display this anymore. --- diff --git a/html/cgi-bin/wlanap.cgi b/html/cgi-bin/wlanap.cgi index 2f0cb55d62..c78a3c4ff6 100644 --- a/html/cgi-bin/wlanap.cgi +++ b/html/cgi-bin/wlanap.cgi @@ -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;