summaryrefslogtreecommitdiff
path: root/package/madwifi/files
diff options
context:
space:
mode:
authorthepeople <thepeople@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-03-17 03:56:14 +0000
committerthepeople <thepeople@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-03-17 03:56:14 +0000
commit2fa97d8559357429e60ec101b31ac32966b92f4e (patch)
tree08e1e96e19da3a49656d5aa08728f032f0322d97 /package/madwifi/files
parent54da7c4cde1351447ec4330f53e67f14b1fe0b9a (diff)
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')
-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