base-files: wifi: for wifi reconf, scan_wifi after network reload
authorBob Cantor <bobc@confidesk.com>
Sun, 4 Jul 2021 17:26:46 +0000 (03:26 +1000)
committerChristian Marangi <ansuelsmth@gmail.com>
Tue, 25 Oct 2022 07:24:37 +0000 (09:24 +0200)
commit80a62a675d2ef57a1885e1829926dd2ea1682612
tree95f2b745b8d04b756508738d2d8bcc9cd9736571
parentfcfce8f208f3790764beacd5e3f25a73d4c9eb5d
base-files: wifi: for wifi reconf, scan_wifi after network reload

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