From: Arne Fitzenreiter Date: Sat, 11 Apr 2015 20:09:18 +0000 (+0200) Subject: wlanap.cgi: hide "no IR" channels X-Git-Tag: v2.17-core91~142 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=05583186d6cabdab8801045c491ba3d606690fb4;p=people%2Fpmueller%2Fipfire-2.x.git wlanap.cgi: hide "no IR" channels --- diff --git a/html/cgi-bin/wlanap.cgi b/html/cgi-bin/wlanap.cgi index ec9022ddfa..eb82c67c81 100644 --- a/html/cgi-bin/wlanap.cgi +++ b/html/cgi-bin/wlanap.cgi @@ -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;