mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2025-02-15 11:17:08 +00:00
base-files: wifi: for wifi reconf, scan_wifi after network reload
Commite8b5429609
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:e8b5429609
("base-files: wifi: tidy up the reconf code") Signed-off-by: Bob Cantor <bobc@confidesk.com>
This commit is contained in:
parent
fcfce8f208
commit
80a62a675d
@ -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 "$@"
|
||||
|
Loading…
Reference in New Issue
Block a user