[openwrt/openwrt] mac80211: allow retry of wifi setup if an iw interface add command fails
LEDE Commits
lede-commits at lists.infradead.org
Thu Sep 30 02:34:29 PDT 2021
nbd pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/42dda0ed3e941bc36661e29b990e2ee2adf7f508
commit 42dda0ed3e941bc36661e29b990e2ee2adf7f508
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Thu Sep 30 11:31:19 2021 +0200
mac80211: allow retry of wifi setup if an iw interface add command fails
In some cases, spurious failures might be cleared by teardown and retry
Signed-off-by: Felix Fietkau <nbd at nbd.name>
---
package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh b/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
index 4574a9881a..c3cc65d3aa 100644
--- a/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
+++ b/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
@@ -625,7 +625,7 @@ mac80211_iw_interface_add() {
rc="$?"
}
- [ "$rc" != 0 ] && wireless_setup_failed INTERFACE_CREATION_FAILED
+ [ "$rc" != 0 ] && echo "Failed to create interface $ifname"
return $rc
}
More information about the lede-commits
mailing list