]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
wlanap.cgi: hide "no IR" channels
authorArne Fitzenreiter <arne_f@ipfire.org>
Sat, 11 Apr 2015 20:09:18 +0000 (22:09 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Sat, 11 Apr 2015 20:09:18 +0000 (22:09 +0200)
html/cgi-bin/wlanap.cgi

index ec9022ddfad8305013f9efd1200818726c33bbf2..eb82c67c810a259b45e1796c51fa802a59a46f7e 100644 (file)
@@ -265,7 +265,7 @@ if ( $wlanapsettings{'DRIVER'} eq 'NL80211' ){
 my $wiphy = `iw dev $wlanapsettings{'INTERFACE'} info | grep wiphy | cut -d" " -f2`;
 chomp $wiphy;
 
-@channellist_cmd = `iw phy phy$wiphy info | grep " MHz \\\[" | grep -v "(disabled)" | grep -v "no IBSS" | grep -v "passive scanning" 2>/dev/null`;
+@channellist_cmd = `iw phy phy$wiphy info | grep " MHz \\\[" | grep -v "(disabled)" | grep -v "no IBSS" | grep -v "no IR" | grep -v "passive scanning" 2>/dev/null`;
 # get available channels
 
 my @temp;