mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
remove duplicate section to find bridge name
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6591 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
cd35305e9c
commit
8dcd686170
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user