From: Amitkumar Karwar Date: Wed, 28 Mar 2012 18:38:01 +0000 (-0700) Subject: libertas: fix signedness bug in lbs_auth_to_authtype() X-Git-Tag: v3.4-rc5~44^2~12^2^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=effcc625eb4ab3b10b4744237fd37e8f7dcd6511;p=pandora-kernel.git 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 Signed-off-by: Amitkumar Karwar Signed-off-by: Kiran Divekar Signed-off-by: John W. Linville --- Reading git-diff-tree failed