X-Git-Url: http://git.grml.org/?p=grml-network.git;a=blobdiff_plain;f=sbin%2Fnetcardconfig;h=c9dd5a9c46ddea8047cefc3a057b5b82bcf709d4;hp=52a1c6ad09620dee17176daf4eeb28ffb890659c;hb=6fe530c5d13de98db0efc9515422824c81c412b1;hpb=e441696405adae24424b0ddc67cccda5ad4d489a diff --git a/sbin/netcardconfig b/sbin/netcardconfig index 52a1c6a..c9dd5a9 100755 --- a/sbin/netcardconfig +++ b/sbin/netcardconfig @@ -157,9 +157,6 @@ scanwlan(){ iwlist $DV scanning | grep "ESSID\|Quality" | sed -e "s/^.*ESSID:\"\|\"$//g" | tac > "$TMP" while read line do - # don't show up empty and hidden (containing "\x00") ESSIDs - echo $line | grep -q \\x00 && continue - [ -z "$line" ] && continue WARRAY[i++]=$line done < "$TMP" unset i @@ -264,7 +261,7 @@ configiface() { while [ $RESCAN -eq 1 ] do scanwlan - $DIALOG --extra-button --extra-label "Rescan" --menu "$MESSAGEWSCAN2" 20 70 15 "${WARRAY[@] }" 2>"$TMP" + $DIALOG --extra-button --extra-label "Rescan" --menu "$MESSAGEWSCAN2" 20 70 15 "${WARRAY[@]}" 2>"$TMP" case $? in 0) RESCAN=0