projects
/
openwrt
/
staging
/
nbd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fcfce8f
)
base-files: wifi: for wifi reconf, scan_wifi after network reload
author
Bob Cantor
<bobc@confidesk.com>
Sun, 4 Jul 2021 17:26:46 +0000
(
03:26
+1000)
committer
Christian Marangi
<ansuelsmth@gmail.com>
Tue, 25 Oct 2022 07:24:37 +0000
(09:24 +0200)
Commit
e8b542960921
included an unintended change and we now call
scan_wifi before a network reload.
Restore the original behaviour and call scan_wifi only after a network
reload.
Fixes: e8b542960921 ("base-files: wifi: tidy up the reconf code")
Signed-off-by: Bob Cantor <bobc@confidesk.com>
package/base-files/files/sbin/wifi
patch
|
blob
|
history
diff --git
a/package/base-files/files/sbin/wifi
b/package/base-files/files/sbin/wifi
index 7e248add9d34f29b5d7c0454fc99dfc12155855a..6a9dce7e8a9cca52fdd52b885b526133c0bd009e 100755
(executable)
--- a/
package/base-files/files/sbin/wifi
+++ b/
package/base-files/files/sbin/wifi
@@
-133,9
+133,9
@@
wifi_updown() {
cmd=up
}
[ reconf = "$1" ] && {
+ ubus call network reload
scan_wifi
cmd=reconf
- ubus call network reload
}
ubus_wifi_cmd "$cmd" "$2"
_wifi_updown "$@"