wlcore: fix WLCORE_VENDOR_ATTR_GROUP_KEY policy
The attribute type is binary data (with max length). Signed-off-by: Eliad Peller <eliad@wizery.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
This commit is contained in:
parent
6383539b97
commit
d6b984816b
|
@ -21,7 +21,7 @@ static const
|
||||||
struct nla_policy wlcore_vendor_attr_policy[NUM_WLCORE_VENDOR_ATTR] = {
|
struct nla_policy wlcore_vendor_attr_policy[NUM_WLCORE_VENDOR_ATTR] = {
|
||||||
[WLCORE_VENDOR_ATTR_FREQ] = { .type = NLA_U32 },
|
[WLCORE_VENDOR_ATTR_FREQ] = { .type = NLA_U32 },
|
||||||
[WLCORE_VENDOR_ATTR_GROUP_ID] = { .type = NLA_U32 },
|
[WLCORE_VENDOR_ATTR_GROUP_ID] = { .type = NLA_U32 },
|
||||||
[WLCORE_VENDOR_ATTR_GROUP_KEY] = { .type = NLA_U32,
|
[WLCORE_VENDOR_ATTR_GROUP_KEY] = { .type = NLA_BINARY,
|
||||||
.len = WLAN_MAX_KEY_LEN },
|
.len = WLAN_MAX_KEY_LEN },
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue