aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifup-wireless
diff options
context:
space:
mode:
Diffstat (limited to 'sysconfig/network-scripts/ifup-wireless')
-rwxr-xr-xsysconfig/network-scripts/ifup-wireless2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/ifup-wireless b/sysconfig/network-scripts/ifup-wireless
index d63679dd..87676ca7 100755
--- a/sysconfig/network-scripts/ifup-wireless
+++ b/sysconfig/network-scripts/ifup-wireless
@@ -39,7 +39,7 @@ if [ -n "$ESSID" ] || [ -n "$MODE" ] ; then
iwconfig $DEVICE nick $NICKNAME >/dev/null 2>&1
fi
# Regular stuff...
-if [ "-n $NWID" ] ; then
+if [ -n "$NWID" ] ; then
iwconfig $DEVICE nwid $NWID
fi
if [ -n "$FREQ" ] ; then