提交 f49aabf8 编写于 作者: D Dan Carpenter 提交者: John W. Linville

prism54: bug in getting auth type

There is a missing break statement so SHARED_KEY authentication doesn't
work.
Signed-off-by: NDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
上级 e03e8ddb
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册