summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/prism54
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2013-01-14 00:03:42 +0400
committerJohn W. Linville <linville@tuxdriver.com>2013-01-23 01:01:29 +0400
commitf49aabf816afa5913e5001bd1db1c3efb4c6e19e (patch)
tree9582c6276e49efe9029a8a08db95595053587951 /drivers/net/wireless/prism54
parente03e8ddbfd1f04fc1437e5e3e7a8ec05a1355c5f (diff)
downloadlinux-f49aabf816afa5913e5001bd1db1c3efb4c6e19e.tar.xz
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.c1
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 4e44b1af119a..1c22b81e6ef3 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;