diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2013-01-13 23:03:42 +0300 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-01-22 16:01:29 -0500 |
commit | f49aabf816afa5913e5001bd1db1c3efb4c6e19e (patch) | |
tree | 9582c6276e49efe9029a8a08db95595053587951 /drivers/net/wireless/prism54 | |
parent | e03e8ddbfd1f04fc1437e5e3e7a8ec05a1355c5f (diff) |
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>
Diffstat (limited to 'drivers/net/wireless/prism54')
-rw-r--r-- | drivers/net/wireless/prism54/isl_ioctl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/prism54/isl_ioctl.c b/drivers/net/wireless/prism54/isl_ioctl.c index 4e44b1af119..1c22b81e6ef 100644 --- a/drivers/net/wireless/prism54/isl_ioctl.c +++ b/drivers/net/wireless/prism54/isl_ioctl.c @@ -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; |