From 871480933a1c28f8a9fed4c4d34d06c439a7a422 Mon Sep 17 00:00:00 2001 From: Srikant Patnaik Date: Sun, 11 Jan 2015 12:28:04 +0530 Subject: Moved, renamed, and deleted files The original directory structure was scattered and unorganized. Changes are basically to make it look like kernel structure. --- drivers/net/wireless/rtl8188C_8192C/runwpa | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100755 drivers/net/wireless/rtl8188C_8192C/runwpa (limited to 'drivers/net/wireless/rtl8188C_8192C/runwpa') diff --git a/drivers/net/wireless/rtl8188C_8192C/runwpa b/drivers/net/wireless/rtl8188C_8192C/runwpa new file mode 100755 index 00000000..f825e8bd --- /dev/null +++ b/drivers/net/wireless/rtl8188C_8192C/runwpa @@ -0,0 +1,20 @@ +#!/bin/bash + +if [ "`which iwconfig`" = "" ] ; then + echo "WARNING:Wireless tool not exist!" + echo " Please install it!" + exit +else + if [ `uname -r | cut -d. -f2` -eq 4 ]; then + wpa_supplicant -D ipw -c wpa1.conf -i wlan0 + else + if [ `iwconfig -v |awk '{print $4}' | head -n 1` -lt 18 ] ; then + wpa_supplicant -D ipw -c wpa1.conf -i wlan0 + else + wpa_supplicant -D wext -c wpa1.conf -i wlan0 + fi + + fi +fi + + -- cgit