Commit 571d716
committed
wifi-scripts: fix race in wireless interface creation
When wdev interfaces and hostapd interfaces are mixed, race conditions
can occur. Sometimes all interfaces are started correctly, sometimes only
the wdev interface and some of the hostapd interfaces, and sometimes only
the wdev interface.
Fix this by creating the wdev interfaces first, before processing
wpa_supplicant or hostapd interfaces.
Link: openwrt/openwrt#21303
Signed-off-by: Nick Hainke <[email protected]>
(cherry picked from commit 2015a40)1 parent 380e5ea commit 571d716
File tree
1 file changed
+6
-6
lines changed- package/network/config/wifi-scripts/files-ucode/lib/netifd/wireless
1 file changed
+6
-6
lines changedLines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
288 | 288 | | |
289 | 289 | | |
290 | 290 | | |
291 | | - | |
292 | | - | |
293 | | - | |
294 | | - | |
295 | | - | |
296 | | - | |
297 | 291 | | |
298 | 292 | | |
299 | 293 | | |
| |||
304 | 298 | | |
305 | 299 | | |
306 | 300 | | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
307 | 307 | | |
308 | 308 | | |
309 | 309 | | |
| |||
0 commit comments