diff options
author | 2012-08-08 19:01:52 -0700 | |
---|---|---|
committer | 2012-08-10 15:27:03 -0400 | |
commit | 641c869d40c7ec6a34930843f41e95bf1f53f29f (patch) | |
tree | 3a948bd96d52b79e4d498ef806bdfafba29ebfde /net/tipc | |
parent | ssb: check for flash presentence (diff) | |
download | linux-dev-641c869d40c7ec6a34930843f41e95bf1f53f29f.tar.xz linux-dev-641c869d40c7ec6a34930843f41e95bf1f53f29f.zip |
mwifiex: fix 'smatch' warning in preparing key_material cmd
The key length can be 32 bytes for TKIP and 16 bytes for AES_CMAC.
'smatch' warns on memcpy using key_len variable to copy data to
a 16 bytes buffer. Use fixed length to avoid the warning.
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/tipc')
0 files changed, 0 insertions, 0 deletions