projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
wifi: restart netifd wifi interfaces on the "up" command like the old variant
[openwrt.git]
/
package
/
base-files
/
files
/
sbin
/
wifi
diff --git
a/package/base-files/files/sbin/wifi
b/package/base-files/files/sbin/wifi
index
2687f1e
..
f40cd7f
100755
(executable)
--- a/
package/base-files/files/sbin/wifi
+++ b/
package/base-files/files/sbin/wifi
@@
-126,6
+126,7
@@
wifi_updown() {
cmd=down
[ enable = "$1" ] && {
_wifi_updown disable "$2"
+ ubus_wifi_cmd "$cmd" "$2"
scan_wifi
cmd=up
}