aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/mac80211
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2021-09-30 11:31:19 +0200
committerFelix Fietkau <nbd@nbd.name>2021-09-30 11:33:37 +0200
commit42dda0ed3e941bc36661e29b990e2ee2adf7f508 (patch)
treef731867a9add9ba1badbbd0b1b72fe66ef146d0d /package/kernel/mac80211
parent585cef5f1a9c1c3aecd7d231364618e96d03ab65 (diff)
downloadupstream-42dda0ed3e941bc36661e29b990e2ee2adf7f508.tar.gz
upstream-42dda0ed3e941bc36661e29b990e2ee2adf7f508.tar.bz2
upstream-42dda0ed3e941bc36661e29b990e2ee2adf7f508.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>
Diffstat (limited to 'package/kernel/mac80211')
-rw-r--r--package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh2
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 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
}