aboutsummaryrefslogtreecommitdiffstats
path: root/package/madwifi/files/lib/wifi/madwifi.sh
diff options
context:
space:
mode:
authorTravis Kemen <thepeople@openwrt.org>2007-03-17 03:56:14 +0000
committerTravis Kemen <thepeople@openwrt.org>2007-03-17 03:56:14 +0000
commit8dcd68617021e87d8654fcdf153ff33cb53759f5 (patch)
tree08e1e96e19da3a49656d5aa08728f032f0322d97 /package/madwifi/files/lib/wifi/madwifi.sh
parentcd35305e9cb8d85fd484d3a7bf5ba79b1abc539b (diff)
downloadupstream-8dcd68617021e87d8654fcdf153ff33cb53759f5.tar.gz
upstream-8dcd68617021e87d8654fcdf153ff33cb53759f5.tar.bz2
upstream-8dcd68617021e87d8654fcdf153ff33cb53759f5.zip
remove duplicate section to find bridge name
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6591 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/madwifi/files/lib/wifi/madwifi.sh')
-rwxr-xr-xpackage/madwifi/files/lib/wifi/madwifi.sh4
1 files changed, 0 insertions, 4 deletions
diff --git a/package/madwifi/files/lib/wifi/madwifi.sh b/package/madwifi/files/lib/wifi/madwifi.sh
index 0f846d0cb9..1af4ce3bf5 100755
--- a/package/madwifi/files/lib/wifi/madwifi.sh
+++ b/package/madwifi/files/lib/wifi/madwifi.sh
@@ -214,10 +214,6 @@ EOF
#add wpa_supplicant calls here
;;
esac
- net_cfg="$(find_net_config "$vif")"
- [ -z "$net_cfg" ] || {
- bridge="$(bridge_interface "$net_cfg")"
- }
wpa_supplicant ${bridge:+ -b $bridge} -Bw -D wext -i "$ifname" -c /var/run/wpa_supplicant-$ifname.conf
;;
esac