mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-01-28 03:37:17 +01:00
hostapd: fix beacon_req_policy syntax issues
Use the correct syntax for array element assignment Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
168d5affc3
commit
6fb3e95baa
1 changed files with 6 additions and 6 deletions
|
|
@ -1164,12 +1164,12 @@ enum {
|
|||
|
||||
static const struct blobmsg_policy beacon_req_policy[__BEACON_REQ_MAX] = {
|
||||
[BEACON_REQ_ADDR] = { "addr", BLOBMSG_TYPE_STRING },
|
||||
[BEACON_REQ_OP_CLASS] { "op_class", BLOBMSG_TYPE_INT32 },
|
||||
[BEACON_REQ_CHANNEL] { "channel", BLOBMSG_TYPE_INT32 },
|
||||
[BEACON_REQ_DURATION] { "duration", BLOBMSG_TYPE_INT32 },
|
||||
[BEACON_REQ_MODE] { "mode", BLOBMSG_TYPE_INT32 },
|
||||
[BEACON_REQ_BSSID] { "bssid", BLOBMSG_TYPE_STRING },
|
||||
[BEACON_REQ_SSID] { "ssid", BLOBMSG_TYPE_STRING },
|
||||
[BEACON_REQ_OP_CLASS] = { "op_class", BLOBMSG_TYPE_INT32 },
|
||||
[BEACON_REQ_CHANNEL] = { "channel", BLOBMSG_TYPE_INT32 },
|
||||
[BEACON_REQ_DURATION] = { "duration", BLOBMSG_TYPE_INT32 },
|
||||
[BEACON_REQ_MODE] = { "mode", BLOBMSG_TYPE_INT32 },
|
||||
[BEACON_REQ_BSSID] = { "bssid", BLOBMSG_TYPE_STRING },
|
||||
[BEACON_REQ_SSID] = { "ssid", BLOBMSG_TYPE_STRING },
|
||||
};
|
||||
|
||||
static int
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue