From: Travis Kemen Date: Sat, 17 Mar 2007 03:56:14 +0000 (+0000) Subject: remove duplicate section to find bridge name X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=f1432e60f0fbfbf3d43eea51fd0d718c241b0d76;p=openwrt%2Fstaging%2F981213.git remove duplicate section to find bridge name SVN-Revision: 6591 --- 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