diff --git a/feeds/wifi-ax/hostapd/patches/x-0005-add-vlan_id-to-sta-authorized-event.patch b/feeds/wifi-ax/hostapd/patches/x-0005-add-vlan_id-to-sta-authorized-event.patch new file mode 100644 index 000000000..3632282ba --- /dev/null +++ b/feeds/wifi-ax/hostapd/patches/x-0005-add-vlan_id-to-sta-authorized-event.patch @@ -0,0 +1,11 @@ +--- a/src/ap/ubus.c ++++ b/src/ap/ubus.c +@@ -1914,6 +1914,8 @@ void hostapd_ubus_notify_authorized(stru + blob_buf_init(&b, 0); + blobmsg_add_macaddr(&b, "address", sta->addr); + blobmsg_add_string(&b, "ifname", hapd->conf->iface); ++ if (sta->vlan_id) ++ blobmsg_add_u32(&b, "vlan_id", sta->vlan_id); + if (sta->bandwidth[0] || sta->bandwidth[1]) { + void *r = blobmsg_open_array(&b, "rate-limit"); +