-
-
Notifications
You must be signed in to change notification settings - Fork 9.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mac80211: rework interface setup, fix race condition
Only tell netifd about vifs when the setup is complete and hostapd + wpa_supplicant have been notified Signed-off-by: Felix Fietkau <nbd@nbd.name>
- Loading branch information
Showing
2 changed files
with
74 additions
and
92 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
b7f9742
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I get these errors.
b7f9742
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@castillofrancodamian could you please send me your /etc/config/wireless and the generated /var/run/hostapd-*.conf
b7f9742
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nbd168 File before errors
Errors after creating an interface in LuCI. The new interface does not appear in any clients. The other interfaces do appear.
After rebooting the radio in LuCI, any interfaces for that radio no longer appear on clients.
Then restart the router and all the interfaces appear.
b7f9742
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nbd168 I get this on another router when changing the settings on the default Wi-Fi interfaces. After restarting the router, the interfaces no longer turn on.
make image PROFILE=mercusys_mr70x-v1 PACKAGES="wpad-mbedtls luci-ssl htop nano iperf3 luci-i18n-firewall-es luci-i18n-opkg-es luci-theme-openwrt-2020 luci-i18n-base-es luci-i18n-commands-es luci-lua-runtime wavemon luci-proto-wireguard qrencode luci-proto-relay luci-i18n-sqm-es luci-i18n-nlbwmon-es curl -wpad-basic-mbedtls"
b7f9742
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Experiencing the same problem as @castillofrancodamian with my Xiaomi AX3600 (qualcommax). Found that turning off encryption for the WiFi network resolves the issue. Hoping this insight assists @nbd168 in identifying the root cause of the error.
b7f9742
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for reporting back. I've reverted this commit for now and will add it back once I've had the time to figure out and fix the cause of these issues.