diff options
author | Amitkumar Karwar <akarwar@marvell.com> | 2012-03-28 20:38:01 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-04-13 20:05:35 +0200 |
commit | effcc625eb4ab3b10b4744237fd37e8f7dcd6511 (patch) | |
tree | 903cc745e214fbe36d4c244360e354cdfa7b0a8f /drivers/net/virtio_net.c | |
parent | NFC: Fix the LLCP Tx fragmentation loop (diff) | |
download | linux-effcc625eb4ab3b10b4744237fd37e8f7dcd6511.tar.xz linux-effcc625eb4ab3b10b4744237fd37e8f7dcd6511.zip |
libertas: fix signedness bug in lbs_auth_to_authtype()
Return type for lbs_auth_to_authtype() is changed from "u8" to
"int" to return negative error code correctly.
Also an error check is added in connect handler for invalid auth
type.
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Kiran Divekar <dkiran@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/virtio_net.c')
0 files changed, 0 insertions, 0 deletions