diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2013-01-13 21:03:42 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-01-22 22:01:29 +0100 |
commit | f49aabf816afa5913e5001bd1db1c3efb4c6e19e (patch) | |
tree | 9582c6276e49efe9029a8a08db95595053587951 /drivers/net/wireless/prism54 | |
parent | b43: N-PHY: fix gain in b43_nphy_get_gain_ctl_workaround_ent() (diff) | |
download | linux-f49aabf816afa5913e5001bd1db1c3efb4c6e19e.tar.xz linux-f49aabf816afa5913e5001bd1db1c3efb4c6e19e.zip |
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 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; |