wifi-scripts: fix wdev fallback for mesh interfaces
authorNick Hainke <vincent@systemli.org>
Thu, 25 Dec 2025 17:41:10 +0000 (18:41 +0100)
committerNick Hainke <vincent@systemli.org>
Sat, 27 Dec 2025 10:18:49 +0000 (11:18 +0100)
commita18ef412ae73b605a99c319e02bcff9a63b3bfa8
tree6afd052e5138d54e1abf07adf204abca3b80aa37
parent436c9af039ee6dded975ec93a6d2787ba3842790
wifi-scripts: fix wdev fallback for mesh interfaces

The previous wdev.uc invocation failed for mesh interfaces.
Rewrite it as a loop so the mesh interface is created correctly
when no wpa_supplicant mesh support is installed.

Link: https://github.com/openwrt/openwrt/pull/21291
Signed-off-by: Nick Hainke <vincent@systemli.org>
package/network/config/wifi-scripts/files-ucode/lib/netifd/wireless/mac80211.sh