From: Eliad Peller Date: Mon, 29 Dec 2014 06:24:01 +0000 (+0200) Subject: wlcore: fix WLCORE_VENDOR_ATTR_GROUP_KEY policy X-Git-Tag: v4.14-rc1~5989^2~10^2~205 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d6b984816b902c73b2273c6088f52660a54c2034;p=platform%2Fkernel%2Flinux-rpi.git wlcore: fix WLCORE_VENDOR_ATTR_GROUP_KEY policy The attribute type is binary data (with max length). Signed-off-by: Eliad Peller Signed-off-by: Kalle Valo --- diff --git a/drivers/net/wireless/ti/wlcore/vendor_cmd.c b/drivers/net/wireless/ti/wlcore/vendor_cmd.c index ad86a48..fd4e9ba 100644 --- a/drivers/net/wireless/ti/wlcore/vendor_cmd.c +++ b/drivers/net/wireless/ti/wlcore/vendor_cmd.c @@ -21,7 +21,7 @@ static const struct nla_policy wlcore_vendor_attr_policy[NUM_WLCORE_VENDOR_ATTR] = { [WLCORE_VENDOR_ATTR_FREQ] = { .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 }, };