summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/wlan-ng26-utils/tmp/trunk/etc/pcmcia/.svn
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core-testing/wlan-ng26-utils/tmp/trunk/etc/pcmcia/.svn')
-rw-r--r--abs/core-testing/wlan-ng26-utils/tmp/trunk/etc/pcmcia/.svn/entries130
-rw-r--r--abs/core-testing/wlan-ng26-utils/tmp/trunk/etc/pcmcia/.svn/format1
-rw-r--r--abs/core-testing/wlan-ng26-utils/tmp/trunk/etc/pcmcia/.svn/prop-base/Makefile.svn-base9
-rw-r--r--abs/core-testing/wlan-ng26-utils/tmp/trunk/etc/pcmcia/.svn/prop-base/wlan-ng.conf.svn-base13
-rw-r--r--abs/core-testing/wlan-ng26-utils/tmp/trunk/etc/pcmcia/.svn/prop-base/wlan-ng.svn-base13
-rw-r--r--abs/core-testing/wlan-ng26-utils/tmp/trunk/etc/pcmcia/.svn/text-base/Makefile.svn-base81
-rw-r--r--abs/core-testing/wlan-ng26-utils/tmp/trunk/etc/pcmcia/.svn/text-base/wlan-ng.conf.svn-base190
-rw-r--r--abs/core-testing/wlan-ng26-utils/tmp/trunk/etc/pcmcia/.svn/text-base/wlan-ng.svn-base204
8 files changed, 641 insertions, 0 deletions
diff --git a/abs/core-testing/wlan-ng26-utils/tmp/trunk/etc/pcmcia/.svn/entries b/abs/core-testing/wlan-ng26-utils/tmp/trunk/etc/pcmcia/.svn/entries
new file mode 100644
index 0000000..4ab4851
--- /dev/null
+++ b/abs/core-testing/wlan-ng26-utils/tmp/trunk/etc/pcmcia/.svn/entries
@@ -0,0 +1,130 @@
+9
+
+dir
+1870
+svn://svn.shaftnet.org/linux-wlan-ng/trunk/etc/pcmcia
+svn://svn.shaftnet.org/linux-wlan-ng
+
+
+
+2005-06-29T21:15:21.828713Z
+1731
+solomon
+
+
+svn:special svn:externals svn:needs-lock
+
+
+
+
+
+
+
+
+
+
+
+7c16ee9a-e2ed-0310-ae25-9f6e1be264fe
+
+wlan-ng
+file
+
+
+
+
+2009-01-07T08:13:02.000000Z
+d5a7d6c0b613d87430f1f7dc14c5129f
+2004-01-29T18:38:28.000000Z
+1559
+solomon
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+5526
+
+wlan-ng.conf
+file
+
+
+
+
+2009-01-07T08:13:02.000000Z
+4dad76e208aa4909b6698c76d74177ae
+2005-06-29T21:15:21.828713Z
+1731
+solomon
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+5443
+
+Makefile
+file
+
+
+
+
+2009-01-07T08:13:02.000000Z
+63eb5c59ebcb43fa82b42bf331ec30cc
+2005-01-26T22:01:07.661267Z
+1678
+solomon
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+2849
+
diff --git a/abs/core-testing/wlan-ng26-utils/tmp/trunk/etc/pcmcia/.svn/format b/abs/core-testing/wlan-ng26-utils/tmp/trunk/etc/pcmcia/.svn/format
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/abs/core-testing/wlan-ng26-utils/tmp/trunk/etc/pcmcia/.svn/format
@@ -0,0 +1 @@
+9
diff --git a/abs/core-testing/wlan-ng26-utils/tmp/trunk/etc/pcmcia/.svn/prop-base/Makefile.svn-base b/abs/core-testing/wlan-ng26-utils/tmp/trunk/etc/pcmcia/.svn/prop-base/Makefile.svn-base
new file mode 100644
index 0000000..7b57b30
--- /dev/null
+++ b/abs/core-testing/wlan-ng26-utils/tmp/trunk/etc/pcmcia/.svn/prop-base/Makefile.svn-base
@@ -0,0 +1,9 @@
+K 13
+svn:eol-style
+V 6
+native
+K 12
+svn:keywords
+V 23
+Author Date Id Revision
+END
diff --git a/abs/core-testing/wlan-ng26-utils/tmp/trunk/etc/pcmcia/.svn/prop-base/wlan-ng.conf.svn-base b/abs/core-testing/wlan-ng26-utils/tmp/trunk/etc/pcmcia/.svn/prop-base/wlan-ng.conf.svn-base
new file mode 100644
index 0000000..5336d10
--- /dev/null
+++ b/abs/core-testing/wlan-ng26-utils/tmp/trunk/etc/pcmcia/.svn/prop-base/wlan-ng.conf.svn-base
@@ -0,0 +1,13 @@
+K 13
+svn:eol-style
+V 6
+native
+K 14
+svn:executable
+V 1
+*
+K 12
+svn:keywords
+V 23
+Author Date Id Revision
+END
diff --git a/abs/core-testing/wlan-ng26-utils/tmp/trunk/etc/pcmcia/.svn/prop-base/wlan-ng.svn-base b/abs/core-testing/wlan-ng26-utils/tmp/trunk/etc/pcmcia/.svn/prop-base/wlan-ng.svn-base
new file mode 100644
index 0000000..5336d10
--- /dev/null
+++ b/abs/core-testing/wlan-ng26-utils/tmp/trunk/etc/pcmcia/.svn/prop-base/wlan-ng.svn-base
@@ -0,0 +1,13 @@
+K 13
+svn:eol-style
+V 6
+native
+K 14
+svn:executable
+V 1
+*
+K 12
+svn:keywords
+V 23
+Author Date Id Revision
+END
diff --git a/abs/core-testing/wlan-ng26-utils/tmp/trunk/etc/pcmcia/.svn/text-base/Makefile.svn-base b/abs/core-testing/wlan-ng26-utils/tmp/trunk/etc/pcmcia/.svn/text-base/Makefile.svn-base
new file mode 100644
index 0000000..e9f612f
--- /dev/null
+++ b/abs/core-testing/wlan-ng26-utils/tmp/trunk/etc/pcmcia/.svn/text-base/Makefile.svn-base
@@ -0,0 +1,81 @@
+# etc/pcmcia/Makefile
+#
+# Copyright (C) 1999 AbsoluteValue Systems, Inc. All Rights Reserved.
+# --------------------------------------------------------------------
+#
+# linux-wlan
+#
+# The contents of this file are subject to the Mozilla Public
+# License Version 1.1 (the "License"); you may not use this file
+# except in compliance with the License. You may obtain a copy of
+# the License at http://www.mozilla.org/MPL/
+#
+# Software distributed under the License is distributed on an "AS
+# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
+# implied. See the License for the specific language governing
+# rights and limitations under the License.
+#
+# Alternatively, the contents of this file may be used under the
+# terms of the GNU Public License version 2 (the "GPL"), in which
+# case the provisions of the GPL are applicable instead of the
+# above. If you wish to allow the use of your version of this file
+# only under the terms of the GPL and not to allow others to use
+# your version of this file under the MPL, indicate your decision
+# by deleting the provisions above and replace them with the notice
+# and other provisions required by the GPL. If you do not delete
+# the provisions above, a recipient may use your version of this
+# file under either the MPL or the GPL.
+#
+# --------------------------------------------------------------------
+#
+# Inquiries regarding the linux-wlan Open Source project can be
+# made directly to:
+#
+# AbsoluteValue Systems Inc.
+# info@linux-wlan.com
+# http://www.linux-wlan.com
+#
+# --------------------------------------------------------------------
+#
+# Portions of the development of this software were funded by
+# Intersil Corporation as part of PRISM(R) chipset product development.
+#
+# --------------------------------------------------------------------
+
+-include ../../config.mk
+
+all:
+ @echo "Nothing to do"
+
+clean:
+ @echo "Nothing to do"
+
+ifeq ($(PRISM2_PCMCIA), y)
+
+install:
+ mkdir -p $(TARGET_PCMCIA_DIR) ; \
+ if [ -f $(TARGET_PCMCIA_DIR)/wlan-ng ]; then \
+ mv -f $(TARGET_PCMCIA_DIR)/wlan-ng $(TARGET_PCMCIA_DIR)/wlan-ng.O ; \
+ fi ; \
+ cp wlan-ng $(TARGET_PCMCIA_DIR) ; \
+ chmod +x $(TARGET_PCMCIA_DIR)/wlan-ng ; \
+ if [ -f $(TARGET_PCMCIA_DIR)/wlan-ng.conf ]; then \
+ mv -f $(TARGET_PCMCIA_DIR)/wlan-ng.conf $(TARGET_PCMCIA_DIR)/wlan-ng.conf.O ; \
+ fi ; \
+ cp wlan-ng.conf $(TARGET_PCMCIA_DIR) ; \
+ if [ -f $(TARGET_PCMCIA_DIR)/config ]; then \
+ if ! grep -sq 'source.*\.\/\*\.conf$$' $(TARGET_PCMCIA_DIR)/config ; then \
+ if ! grep -sq 'source \.\/wlan-ng.conf' $(TARGET_PCMCIA_DIR)/config ; then \
+ mv -f $(TARGET_PCMCIA_DIR)/config $(TARGET_PCMCIA_DIR)/config.O ; \
+ ( echo "source ./wlan-ng.conf"; cat $(TARGET_PCMCIA_DIR)/config.O) > $(TARGET_PCMCIA_DIR)/config ; \
+ fi ; \
+ fi ; \
+ fi
+
+else
+
+install:
+ @echo "Nothing to do"
+
+endif
+
diff --git a/abs/core-testing/wlan-ng26-utils/tmp/trunk/etc/pcmcia/.svn/text-base/wlan-ng.conf.svn-base b/abs/core-testing/wlan-ng26-utils/tmp/trunk/etc/pcmcia/.svn/text-base/wlan-ng.conf.svn-base
new file mode 100644
index 0000000..25e5db9
--- /dev/null
+++ b/abs/core-testing/wlan-ng26-utils/tmp/trunk/etc/pcmcia/.svn/text-base/wlan-ng.conf.svn-base
@@ -0,0 +1,190 @@
+
+device "prism2_cs"
+ class "wlan-ng" module "prism2_cs"
+
+card "Intersil PRISM2 Reference Design 11Mb/s 802.11b WLAN Card"
+ version "INTERSIL", "HFA384x/IEEE"
+ bind "prism2_cs"
+
+card "Compaq WL100/200 11Mb/s 802.11b WLAN Card"
+ manfid 0x0138, 0x0002
+ bind "prism2_cs"
+
+card "Compaq iPaq HNW-100 11Mb/s 802.11b WLAN Card"
+ manfid 0x028a, 0x0002
+ bind "prism2_cs"
+
+card "Samsung SWL2000-N 11Mb/s 802.11b WLAN Card"
+ manfid 0x0250, 0x0002
+ bind "prism2_cs"
+
+card "Z-Com XI300 11Mb/s 802.11b WLAN Card"
+ manfid 0xd601, 0x0002
+ bind "prism2_cs"
+
+card "ZoomAir 4100 11Mb/s 802.11b WLAN Card"
+ version "ZoomAir 11Mbps High", "Rate wireless Networking"
+ bind "prism2_cs"
+
+card "Linksys WPC11 11Mbps 802.11b WLAN Card"
+ version "Instant Wireless ", " Network PC CARD", "Version 01.02"
+ bind "prism2_cs"
+
+card "Addtron AWP-100 11Mbps 802.11b WLAN Card"
+ version "Addtron", "AWP-100 Wireless PCMCIA", "Version 01.02"
+ bind "prism2_cs"
+
+card "D-Link DWL-650 11Mbps 802.11b WLAN Card"
+ version "D", "Link DWL-650 11Mbps WLAN Card", "Version 01.02"
+ bind "prism2_cs"
+
+card "SMC 2632W 11Mbps 802.11b WLAN Card"
+ version "SMC", "SMC2632W", "Version 01.02"
+ bind "prism2_cs"
+
+card "BroMax Freeport 11Mbps 802.11b WLAN Card (Prism 2.5)"
+ version "Intersil", "PRISM 2_5 PCMCIA ADAPTER", "ISL37300P", "Eval-RevA"
+ bind "prism2_cs"
+
+card "U.S. Robotics IEEE 802.11b PC-CARD"
+ version "U.S. Robotics", "IEEE 802.11b PC-CARD", "Version 01.02"
+ bind "prism2_cs"
+
+card "Level-One WPC-0100"
+ version "Digital Data Communications", "WPC-0100"
+ bind "prism2_cs"
+
+card "Bromax OEM 11Mbps 802.11b WLAN Card (Prism 2.5)"
+ manfid 0x0274, 0x1612
+ bind "prism2_cs"
+
+card "Bromax OEM 11Mbps 802.11b WLAN Card (Prism 3)"
+ manfid 0x0274, 0x1613
+ bind "prism2_cs"
+
+card "corega K.K. Wireless LAN PCC-11"
+ version "corega K.K.", "Wireless LAN PCC-11"
+ bind "prism2_cs"
+
+card "corega K.K. Wireless LAN PCCA-11"
+ version "corega K.K.", "Wireless LAN PCCA-11"
+ bind "prism2_cs"
+
+card "CONTEC FLEXSCAN/FX-DDS110-PCC"
+ manfid 0xc001, 0x0008
+ bind "prism2_cs"
+
+card "PLANEX GeoWave/GW-NS110"
+ version "PLANEX", "GeoWave/GW-NS110"
+ bind "prism2_cs"
+
+card "Ambicom WL1100 11Mbps 802.11b WLAN Card"
+ version "OEM", "PRISM2 IEEE 802.11 PC-Card", "Version 01.02"
+ bind "prism2_cs"
+
+card "LeArtery SYNCBYAIR 11Mbps 802.11b WLAN Card"
+ version "LeArtery", "SYNCBYAIR 11Mbps Wireless LAN PC Card", "Version 01.02"
+ bind "prism2_cs"
+
+card "Intermec MobileLAN 11Mbps 802.11b WLAN Card"
+ manfid 0x01ff, 0x0008
+ bind "prism2_cs"
+
+card "NETGEAR MA401 11Mbps 802.11 WLAN Card"
+ version "NETGEAR MA401 Wireless PC", "Card", "Version 01.00"
+ bind "prism2_cs"
+
+card "Intersil PRISM Freedom 11mbps 802.11 WLAN Card"
+ version "Intersil", "PRISM Freedom PCMCIA Adapter", "ISL37100P", "Eval-RevA"
+ bind "prism2_cs"
+
+card "OTC Wireless AirEZY 2411-PCC 11Mbps 802.11 WLAN Card"
+ version "OTC", "Wireless AirEZY 2411-PCC WLAN Card", "Version 01.02"
+ bind "prism2_cs"
+
+card "Dynalink L11HDT 11Mbps 802.11 WLAN Card"
+ version "802.11", "11Mbps Wireless LAN Card", "v08C1", ""
+ manfid 0xc250, 0x0002
+ bind "prism2_cs"
+
+card "PROXIM RangeLAN-DS/LAN PC CARD"
+ version "PROXIM", "RangeLAN-DS/LAN PC CARD"
+ bind "prism2_cs"
+
+card "ACTIONTEC PRISM Wireless LAN PC Card"
+ version "ACTIONTEC", "PRISM Wireless LAN PC Card", "0381", "RevA"
+ manfid 0x1668, 0x0101
+ bind "prism2_cs"
+
+card "3Com AirConnect 3CRWE737A"
+ version "3Com", "3CRWE737A AirConnect Wireless LAN PC Card"
+ bind "prism2_cs"
+
+card "3Com AirConnect 3CRWE777A"
+ version "3Com", "3CRWE777A AirConnect Wireless LAN PCI Card"
+ bind "prism2_cs"
+
+card "ASUS WL-100 802.11b WLAN PC Card"
+ version "ASUS", "802_11b_PC_CARD_25"
+ bind "prism2_cs"
+
+card "ASUS WL-110 802.11b WLAN CF Card"
+ version "ASUS", "802_11B_CF_CARD_25"
+ bind "prism2_cs"
+
+card "BUFFALO WLI-CF-S11G 802.11b WLAN Card"
+ version "BUFFALO", "WLI-CF-S11G"
+ bind "prism2_cs"
+
+card "Linksys WCF11 11Mbps 802.11b WLAN Card (Prism 2.5)"
+ version "The Linksys Group, Inc.", "Wireless Network CF Card", "ISL37300P", "RevA"
+ bind "prism2_cs"
+
+card "Linksys WCF12 11Mbps 802.11b WLAN Card (Prism 3)"
+ version "Linksys", "Wireless CompactFlash Card", "", ""
+ manfid 0x028a, 0x0673
+ bind "prism2_cs"
+
+card "NETGEAR MA401RA 11Mbps 802.11 WLAN Card"
+ version "NETGEAR MA401RA Wireless PC", "Card", "ISL37300P", "Eval-RevA"
+ bind "prism2_cs"
+
+card "D-Link DCF-660W 11Mbps 802.11b WLAN Card"
+ manfid 0xd601, 0x0005
+ bind "prism2_cs"
+
+card "Microsoft Wireless Notebook Adapter MN-520"
+ manfid 0x02d2, 0x0001
+ bind "prism2_cs"
+
+card "AnyPoint(TM) Wireless II PC Card"
+ manfid 0x0089, 0x0002
+ bind "prism2_cs"
+
+card "D-Link DRC-650 802.11b WLAN Card"
+ version "D", "Link DRC-650 11Mbps WLAN Card", "Version 01.02", ""
+ bind "prism2_cs"
+
+card "Adaptec AWN-8030"
+ manfid 0x9005, 0x0021
+ bind "prism2_cs"
+
+card "D-Link DWL-650 rev P 802.11b WLAN card"
+ manfid 0x000b, 0x7110
+# version "D-Link", "DWL-650 Wireless PC Card RevP", "ISL37101P-10", "A3"
+ bind "prism2_cs"
+
+card "I-Gate 11M PC Card"
+ version "INTERSIL", "I-GATE 11M PC Card / PC Card plus", "Version 01.02"
+ bind "prism2_cs"
+
+card "benQ AWL100 802.11b WLAN Card"
+ version "BENQ", "AWL100 PCMCIA ADAPTER", "ISL37300P", "Eval-RevA"
+ manfid 0x000b, 0x7300
+ bind "prism2_cs"
+
+card "Intersil Prism 2 card"
+ version "INTERSIL"
+ manfid 0x0156, 0x0002
+ bind "prism2_cs"
+
diff --git a/abs/core-testing/wlan-ng26-utils/tmp/trunk/etc/pcmcia/.svn/text-base/wlan-ng.svn-base b/abs/core-testing/wlan-ng26-utils/tmp/trunk/etc/pcmcia/.svn/text-base/wlan-ng.svn-base
new file mode 100644
index 0000000..76b63cd
--- /dev/null
+++ b/abs/core-testing/wlan-ng26-utils/tmp/trunk/etc/pcmcia/.svn/text-base/wlan-ng.svn-base
@@ -0,0 +1,204 @@
+#! /bin/sh
+#
+# etc/pcmcia/wlan-ng
+#
+# Copyright (C) 1999 AbsoluteValue Systems, Inc. All Rights Reserved.
+# --------------------------------------------------------------------
+#
+# linux-wlan
+#
+# The contents of this file are subject to the Mozilla Public
+# License Version 1.1 (the "License"); you may not use this file
+# except in compliance with the License. You may obtain a copy of
+# the License at http://www.mozilla.org/MPL/
+#
+# Software distributed under the License is distributed on an "AS
+# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
+# implied. See the License for the specific language governing
+# rights and limitations under the License.
+#
+# Alternatively, the contents of this file may be used under the
+# terms of the GNU Public License version 2 (the "GPL"), in which
+# case the provisions of the GPL are applicable instead of the
+# above. If you wish to allow the use of your version of this file
+# only under the terms of the GPL and not to allow others to use
+# your version of this file under the MPL, indicate your decision
+# by deleting the provisions above and replace them with the notice
+# and other provisions required by the GPL. If you do not delete
+# the provisions above, a recipient may use your version of this
+# file under either the MPL or the GPL.
+#
+# --------------------------------------------------------------------
+#
+# Inquiries regarding the linux-wlan Open Source project can be
+# made directly to:
+#
+# AbsoluteValue Systems Inc.
+# info@linux-wlan.com
+# http://www.linux-wlan.com
+#
+# --------------------------------------------------------------------
+#
+# Portions of the development of this software were funded by
+# Intersil Corporation as part of PRISM(R) chipset product development.
+#
+# --------------------------------------------------------------------
+
+
+# [MSM]: Moved here because wlan/shared may is intended to be used by
+# other scripts
+wlan_usage ()
+{
+ echo "usage: wlan-ng [action] [device name] [debug]"
+ echo " actions: start|resume, stop|suspend, check|cksum|restart"
+ echo " debug : enables shell debug"
+ exit 1
+}
+
+if [ "$3" = "debug" ]; then set -x ; fi
+
+# Note: this 'shared' comes with the WLAN package
+if [ ! -f /etc/wlan/shared ] ; then
+ echo "/etc/wlan/shared not present"
+ exit 0
+fi
+
+. /etc/wlan/shared
+
+# [MSM]: This test supplied by rlazarev, it's commented out due to pcmcia
+# stab file movement. This test needs to be 'functionized' and made a
+# little more robust.
+#if [ ! -f /var/run/stab ] ; then
+# echo "Error: Possibly PCMCIA CS is not started";
+# wlan_usage;
+# exit 1;
+#fi
+
+# If number of args is less than 2 display usage
+if [ $# -lt 2 ]; then wlan_usage ; fi
+
+# Note: this 'shared' comes with the PCMCIA package
+# ACTION=$1 and DEVICE=$2 are assigned in pcmcia/shared
+if [ -f /etc/pcmcia/shared ] ; then . /etc/pcmcia/shared ; fi
+
+# XXXX we can do stuff with $SCHEME still..?
+case "$ACTION" in
+
+'start'|'resume')
+ #=======ENABLE========================================
+ # Do we want to init the card at all?
+ eval 'WLAN_ENABLE=$ENABLE_'$DEVICE
+
+ if ! is_true $WLAN_ENABLE ; then
+ exit 0
+ fi
+
+ if is_true $WLAN_DOWNLOAD; then
+ wlan_download $DEVICE
+ fi
+
+ wlan_enable $DEVICE
+
+ #=======MAC STARTUP=========================================
+ wlan_supports_scan $DEVICE
+ if [ $? = 0 ] ; then
+ wlan_scan $DEVICE
+ if [ $? = 0 ] ; then
+ wlan_source_config_for_ssid "$ssid" "$bssid"
+
+ wlan_user_mibs $DEVICE
+ wlan_wep $DEVICE
+
+ grep 'autojoin' /proc/net/p80211/$DEVICE/wlandev > /dev/null
+ if [ $? = 0 ]; then
+ wlan_infra $DEVICE
+ else
+ wlan_dot11_join $DEVICE
+ fi
+ else
+ echo "network not found. maybe start IBSS?"
+ fi
+ else
+ wlan_source_config $DEVICE
+
+ wlan_user_mibs $DEVICE
+ wlan_wep $DEVICE
+
+ if is_true $IS_ADHOC ; then
+ wlan_adhoc $DEVICE
+ else
+ wlan_infra $DEVICE
+ fi
+ fi
+
+ # ==========PCMCIA NETDEVICE=============================
+ # Append the SSID to the pcmcia scheme name
+ wlan_set_ssid_schemefile "$WLAN_SCHEMESSID"
+
+ # Call the normal network initialization
+ ./network $1 $2
+ if [ $? = 1 ] ; then
+# echo "/etc/pcmcia/network $1 $2 failed."
+ wlan_restore_schemefile
+ exit 1
+ fi
+
+ # Restore scheme file to it's prior contents
+ wlan_restore_schemefile
+ ;;
+
+'stop'|'suspend')
+
+ # ==========PCMCIA NETDEVICE=============================
+ # Append the SSID to the pcmcia scheme name
+ wlan_set_ssid_schemefile "$DesiredSSID"
+
+ # Call the normal network initialization
+ ./network $1 $2
+ if [ $? = 1 ] ; then
+# echo "/etc/pcmcia/network $1 $2 failed."
+ wlan_restore_schemefile
+ exit 1
+ fi
+
+ #=======DISABLE IFSTATE=============================
+ # Take the device down to a quiescent state.
+ wlan_disable $DEVICE
+
+ # Restore scheme file to it's prior contents
+ wlan_restore_schemefile
+ ;;
+
+'check'|'cksum'|'restart')
+ # ==========STA ====================================
+ # Just passes through for normal network device
+ # behavior.
+ if is_true $IS_ADHOC; then
+ WLAN_SCHEMESSID="$SSID"
+ else
+ WLAN_SCHEMESSID="$DesiredSSID"
+ fi
+
+ # ==========PCMCIA NETDEVICE=============================
+ # Append the SSID to the pcmcia scheme name
+ wlan_set_ssid_schemefile "$WLAN_SCHEMESSID"
+
+ # Call the normal network initialization
+ ./network $1 $2 $3:$WLAN_SCHEMESSID
+ if [ $? = 1 ] ; then
+# echo "/etc/pcmcia/network $1 $2 $3 failed."
+ wlan_restore_schemefile
+ exit 1
+ fi
+
+ # Restore scheme file to it's prior contents
+ wlan_restore_schemefile
+ ;;
+
+*)
+ usage
+ ;;
+
+esac
+
+exit 0