projects
/
openwrt
/
staging
/
kaloz.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
53f4888
)
move the txpower option to wifi-iface to mimic madwifi configuration
author
Jo-Philipp Wich
<jow@openwrt.org>
Sun, 16 Nov 2008 19:38:55 +0000
(19:38 +0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Sun, 16 Nov 2008 19:38:55 +0000
(19:38 +0000)
SVN-Revision: 13239
package/broadcom-wl/files/lib/wifi/broadcom.sh
patch
|
blob
|
history
diff --git
a/package/broadcom-wl/files/lib/wifi/broadcom.sh
b/package/broadcom-wl/files/lib/wifi/broadcom.sh
index aa8258d3dc4eb4cf37c3de94df40588e4a5424ed..b30a3d9fef27e8eb50034e6fe002dc1a8ed1a81d 100644
(file)
--- a/
package/broadcom-wl/files/lib/wifi/broadcom.sh
+++ b/
package/broadcom-wl/files/lib/wifi/broadcom.sh
@@
-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"