projects
/
15.05
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e60a53c
)
[package] madwifi: don't try to set an interface essid with an empty value
author
Nicolas Thill
<nico@openwrt.org>
Sun, 17 May 2009 02:01:03 +0000
(
02:01
+0000)
committer
Nicolas Thill
<nico@openwrt.org>
Sun, 17 May 2009 02:01:03 +0000
(
02:01
+0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15886
3c298f89
-4303-0410-b956-
a3cf2f4a3e73
package/madwifi/files/lib/wifi/madwifi.sh
patch
|
blob
|
history
diff --git
a/package/madwifi/files/lib/wifi/madwifi.sh
b/package/madwifi/files/lib/wifi/madwifi.sh
index
65f9637
..
24d371b
100755
(executable)
--- a/
package/madwifi/files/lib/wifi/madwifi.sh
+++ b/
package/madwifi/files/lib/wifi/madwifi.sh
@@
-300,8
+300,10
@@
enable_atheros() {
config_set "$vif" bridge "$bridge"
start_net "$ifname" "$net_cfg"
}
- [ -n "$ssid" ] && iwconfig "$ifname" essid on
- iwconfig "$ifname" essid "$ssid"
+ [ -n "$ssid" ] && {
+ iwconfig "$ifname" essid on
+ iwconfig "$ifname" essid "$ssid"
+ }
set_wifi_up "$vif" "$ifname"
# TXPower settings only work if device is up already