]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
wifi-scripts: fix mcast_rate type (number, not array) 21291/head
authorNick Hainke <vincent@systemli.org>
Fri, 26 Dec 2025 17:35:01 +0000 (18:35 +0100)
committerNick Hainke <vincent@systemli.org>
Sat, 27 Dec 2025 10:18:49 +0000 (11:18 +0100)
The multicast rate (mcast_rate) is defined as a single numeric value,
not an array. The ucode scripts already expect a single number, and
the OpenWrt documentation specifies this option as an integer [0].

Adjust the wireless schema accordingly. This also fixes the wdev.uc
call path for the iw fallback mesh setup.

[0] - https://openwrt.org/docs/guide-user/network/wifi/basic

Link: https://github.com/openwrt/openwrt/pull/21291
Signed-off-by: Nick Hainke <vincent@systemli.org>
package/network/config/wifi-scripts/files-ucode/usr/share/schema/wireless.wifi-iface.json

index c246c8fa4fff91da1fb1f947596dbad1ca3b30df..f5507305bde7185b85685321c7735765b05b671a 100644 (file)
                        "type": "boolean"
                },
                "mcast_rate": {
-                       "description": "Allowed multicast rates",
-                       "type": "array",
-                       "items": {
-                               "type": "number"
-                       }
+                       "description": "Allowed multicast rate",
+                       "type": "number"
                },
                "mesh_auto_open_plinks": {
                        "type": "boolean"