openwrt/package
Bob Cantor b27b63b082 base-files: wifi: swap the order of some ubus calls
"/sbin/wifi up" makes three ubus calls:
1. ubus call network reload
2. ubus call network.wireless down
3. ubus call network.wireless up

The first and third ubus calls call drv_mac80211_setup,
while the second ubus call triggers wireless_device_setup_cancel,
so the call sequence becomes,

1. drv_mac80211_setup
2. wireless_device_setup_cancel
3. drv_mac80211_setup

This commit swaps the order of the first two ubus calls,
1. ubus call network.wireless down
2. ubus call network reload
3. ubus call network.wireless up

Consequently drv_mac80211_setup is only called once,
and two related bugs (#FS3784 and #FS3902) are no longer triggered
by /sbin/wifi.

branches affected: trunk, 21.02

Signed-off-by: Bob Cantor <coxede6557@w3boats.com>
(cherry-picked from commit b82cc80713)
2021-06-30 19:24:55 +02:00
..
base-files base-files: wifi: swap the order of some ubus calls 2021-06-30 19:24:55 +02:00
boot ramips: add support for Linksys EA8100 v1 2021-06-10 17:09:35 +02:00
devel binutils: fix libbfd missing DSO dependency if NLS enabled 2021-04-10 14:22:28 +02:00
firmware wireless-regdb: update to version 2021.04.21 2021-06-08 20:44:12 +02:00
kernel mac80211: print an error if wifi teardown fails 2021-06-30 19:24:55 +02:00
libs libusb: Fix parsing of descriptors for multi-configuration devices 2021-06-26 17:11:21 +02:00
network iwinfo: update to latest Git HEAD 2021-06-27 14:00:18 +02:00
system opkg: update to git HEAD 2021-06-14 00:02:19 +02:00
utils busybox: sysntpd: add trigger to reload server 2021-06-30 09:24:15 +02:00
Makefile build: always build package/kernel/linux 2020-10-15 13:25:58 +02:00