mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-07 15:07:13 -04:00
prism54: bug in getting auth type
There is a missing break statement so SHARED_KEY authentication doesn't work. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
committed by
John W. Linville
parent
e03e8ddbfd
commit
f49aabf816
@@ -1503,6 +1503,7 @@ static int prism54_get_auth(struct net_device *ndev,
|
||||
case DOT11_AUTH_BOTH:
|
||||
case DOT11_AUTH_SK:
|
||||
param->value = IW_AUTH_ALG_SHARED_KEY;
|
||||
break;
|
||||
case DOT11_AUTH_NONE:
|
||||
default:
|
||||
param->value = 0;
|
||||
|
||||
Reference in New Issue
Block a user