mac80211: allow retry of wifi setup if an iw interface add command fails
[openwrt/openwrt.git] / package / kernel / mac80211 / files / lib / netifd / wireless / mac80211.sh
index 4574a9881a3010026340b6de56f49906f6a429d4..c3cc65d3aa1dbf19f7eff57809a52ff1b9277382 100644 (file)
@@ -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
 }