base-files: wifi: for wifi up, scan_wifi after network reload
authorBob Cantor <bobc@confidesk.com>
Sun, 4 Jul 2021 17:03:58 +0000 (03:03 +1000)
committerChristian Marangi <ansuelsmth@gmail.com>
Tue, 25 Oct 2022 07:24:27 +0000 (09:24 +0200)
commitfcfce8f208f3790764beacd5e3f25a73d4c9eb5d
tree1acd11a9927f61a26a09d26baedcacaf35efb4aa
parenta31b598590342bdf0e2b144e5d1b63627d18b6b3
base-files: wifi: for wifi up, scan_wifi after network reload

Commit b82cc8071366 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: b82cc8071366 ("base-files: wifi: swap the order of some ubus calls")
Signed-off-by: Bob Cantor <bobc@confidesk.com>
package/base-files/files/sbin/wifi