remove duplicate section to find bridge name
authorTravis Kemen <thepeople@openwrt.org>
Sat, 17 Mar 2007 03:56:14 +0000 (03:56 +0000)
committerTravis Kemen <thepeople@openwrt.org>
Sat, 17 Mar 2007 03:56:14 +0000 (03:56 +0000)
SVN-Revision: 6591

package/madwifi/files/lib/wifi/madwifi.sh

index 0f846d0cb9fc4f3a94e1dff0cab476c22abce6d4..1af4ce3bf51295e4edfa76adf87dd3660b4ed270 100755 (executable)
@@ -214,10 +214,6 @@ EOF
                                                #add wpa_supplicant calls here
                                        ;;
                                esac
                                                #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
                                wpa_supplicant ${bridge:+ -b $bridge} -Bw -D wext -i "$ifname" -c /var/run/wpa_supplicant-$ifname.conf
                        ;;
                esac