diff options
Diffstat (limited to 'src/wireless')
-rw-r--r-- | src/wireless | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wireless b/src/wireless index 69d3de9..883ea0b 100644 --- a/src/wireless +++ b/src/wireless @@ -6,7 +6,7 @@ wep_check() while [[ $timeout -ne $TIMEOUT ]]; do bssid=`iwgetid $INTERFACE -ra` - [[ ! "$bssid" = "00:00:00:00:00:00" ]] && return 0 + [[ -n "$bssid" && "$bssid" != "00:00:00:00:00:00" ]] && return 0 sleep 1 let timeout++ done |