From b5caa94c23d9ce5cfad49462a226610479bdcd5b Mon Sep 17 00:00:00 2001 From: Andrea Scarpino Date: Sat, 31 Jan 2009 21:02:41 +0100 Subject: [PATCH] use ASCII string for KEY in wep --- src/connections/wireless | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/connections/wireless b/src/connections/wireless index 04c5819..a2010c2 100644 --- a/src/connections/wireless +++ b/src/connections/wireless @@ -45,7 +45,7 @@ wireless_up() { # 'none' security uses iwconfig, like wep, so use same code, minus keysetting. # Use sane default if no alternative is specified if [[ "$SECURITY" = "wep" && "$WEP_OPTS" = "" ]]; then - WEP_OPTS="mode managed essid \"$ESSID\" key $KEY" + WEP_OPTS="mode managed essid \"$ESSID\" key s:$KEY" elif [[ "$SECURITY" = "none" && "$WEP_OPTS" = "" ]]; then WEP_OPTS="mode managed essid \"$ESSID\"" fi -- 1.6.1.2