OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6383539
)
wlcore: fix WLCORE_VENDOR_ATTR_GROUP_KEY policy
author
Eliad Peller
<eliad@wizery.com>
Mon, 29 Dec 2014 06:24:01 +0000
(08:24 +0200)
committer
Kalle Valo
<kvalo@codeaurora.org>
Fri, 9 Jan 2015 13:47:49 +0000
(15:47 +0200)
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>
drivers/net/wireless/ti/wlcore/vendor_cmd.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/ti/wlcore/vendor_cmd.c
b/drivers/net/wireless/ti/wlcore/vendor_cmd.c
index
ad86a48
..
fd4e9ba
100644
(file)
--- 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 },
};