prism54: bug in getting auth type
authorDan Carpenter <dan.carpenter@oracle.com>
Sun, 13 Jan 2013 20:03:42 +0000 (23:03 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 22 Jan 2013 21:01:29 +0000 (16:01 -0500)
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>
drivers/net/wireless/prism54/isl_ioctl.c

index 4e44b1a..1c22b81 100644 (file)
@@ -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;