diff options
author | Felix Fietkau <nbd@nbd.name> | 2021-09-30 11:31:19 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2021-11-23 18:30:04 +0100 |
commit | 27e4c5cf47ba25b8866ff69e89aef9948b45dd15 (patch) | |
tree | fbcc2887a4c885390d5fc10a1e99bc60497f34d1 /package/kernel | |
parent | 4a70b93f2d0bd325740ed3a197ca78118cdf7279 (diff) | |
download | upstream-27e4c5cf47ba25b8866ff69e89aef9948b45dd15.tar.gz upstream-27e4c5cf47ba25b8866ff69e89aef9948b45dd15.tar.bz2 upstream-27e4c5cf47ba25b8866ff69e89aef9948b45dd15.zip |
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@nbd.name>
(cherry-picked from commit 42dda0ed3e941bc36661e29b990e2ee2adf7f508)
Diffstat (limited to 'package/kernel')
-rw-r--r-- | package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh b/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh index 07e0758c4f..17db5a0035 100644 --- a/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh +++ b/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh @@ -626,7 +626,7 @@ mac80211_iw_interface_add() { rc="$?" } - [ "$rc" != 0 ] && wireless_setup_failed INTERFACE_CREATION_FAILED + [ "$rc" != 0 ] && echo "Failed to create interface $ifname" return $rc } |