Skip to content
Snippets Groups Projects
Commit 74d54311 authored by jow's avatar jow
Browse files

move the txpower option to wifi-iface to mimic madwifi configuration

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13239 3c298f89-4303-0410-b956-a3cf2f4a3e73
parent 7d9767f9
No related branches found
No related tags found
No related merge requests found
......@@ -123,8 +123,7 @@ enable_broadcom() {
config_get macfilter "$device" macfilter
config_get maclist "$device" maclist
config_get macaddr "$device" macaddr
config_get txpower "$device" txpower
local vif_pre_up vif_post_up vif_do_up
local vif_pre_up vif_post_up vif_do_up txpower
_c=0
nas="$(which nas)"
......@@ -153,6 +152,8 @@ enable_broadcom() {
esac
for vif in $vifs; do
config_get txpower "$vif" txpower
config_get mode "$vif" mode
append vif_pre_up "vif $_c" "$N"
append vif_post_up "vif $_c" "$N"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment