Skip to content

Commit a06553b

Browse files
wifi-scripts: fix mcast_rate type (number, not array)
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: openwrt/openwrt#21291 (cherry picked from commit a6eb3d9) Link: openwrt/openwrt#21301 Signed-off-by: Nick Hainke <[email protected]>
1 parent a32c5c6 commit a06553b

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

package/network/config/wifi-scripts/files-ucode/usr/share/schema/wireless.wifi-iface.json

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -605,11 +605,8 @@
605605
"type": "boolean"
606606
},
607607
"mcast_rate": {
608-
"description": "Allowed multicast rates",
609-
"type": "array",
610-
"items": {
611-
"type": "number"
612-
}
608+
"description": "Allowed multicast rate",
609+
"type": "number"
613610
},
614611
"mesh_auto_open_plinks": {
615612
"type": "boolean"

0 commit comments

Comments
 (0)