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 42dda0ed3e)
This commit is contained in:
@@ -626,7 +626,7 @@ mac80211_iw_interface_add() {
|
|||||||
rc="$?"
|
rc="$?"
|
||||||
}
|
}
|
||||||
|
|
||||||
[ "$rc" != 0 ] && wireless_setup_failed INTERFACE_CREATION_FAILED
|
[ "$rc" != 0 ] && echo "Failed to create interface $ifname"
|
||||||
return $rc
|
return $rc
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user