summaryrefslogtreecommitdiff
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
commitf1432e60f0fbfbf3d43eea51fd0d718c241b0d76 (patch)
treef5fd32e2849528ad2ee2fcbec4e2cefd6bfe5ece
parente68e6f4be98760fdadbc251e6e80cf71738343c4 (diff)
downloadmtk-20170518-f1432e60f0fbfbf3d43eea51fd0d718c241b0d76.zip
mtk-20170518-f1432e60f0fbfbf3d43eea51fd0d718c241b0d76.tar.gz
mtk-20170518-f1432e60f0fbfbf3d43eea51fd0d718c241b0d76.tar.bz2
remove duplicate section to find bridge name
SVN-Revision: 6591
-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 0f846d0..1af4ce3 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