diff options
author | Amitkumar Karwar <akarwar@marvell.com> | 2012-03-28 11:38:01 -0700 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-04-13 14:05:35 -0400 |
commit | effcc625eb4ab3b10b4744237fd37e8f7dcd6511 (patch) | |
tree | 903cc745e214fbe36d4c244360e354cdfa7b0a8f /net | |
parent | b4838d12e1f3cb48c2489a0b08733b5dbf848297 (diff) |
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 'net')
0 files changed, 0 insertions, 0 deletions