diff options
author | Dan Williams <dcbw@redhat.com> | 2007-07-06 07:59:40 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2007-07-10 14:23:03 -0400 |
commit | 777fa98194f91dae24fd12de47eec1cbb0375b29 (patch) | |
tree | 4b49e8e88c8762d5ff7712b4b7a47867e819a532 | |
parent | 6b62472a5ff9605aafa43a0a341c32127821f7b2 (diff) |
[PATCH] libertas: fix disabling WPA
Found by Guillaume LECERF <glecerf@gmail.com>
Signed-off-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r-- | drivers/net/wireless/libertas/cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/libertas/cmd.c b/drivers/net/wireless/libertas/cmd.c index 13f6528abb00..4a8f5dc70239 100644 --- a/drivers/net/wireless/libertas/cmd.c +++ b/drivers/net/wireless/libertas/cmd.c | |||
@@ -240,7 +240,7 @@ static int wlan_cmd_802_11_enable_rsn(wlan_private * priv, | |||
240 | if (*enable) | 240 | if (*enable) |
241 | penableRSN->enable = cpu_to_le16(cmd_enable_rsn); | 241 | penableRSN->enable = cpu_to_le16(cmd_enable_rsn); |
242 | else | 242 | else |
243 | penableRSN->enable = cpu_to_le16(cmd_enable_rsn); | 243 | penableRSN->enable = cpu_to_le16(cmd_disable_rsn); |
244 | } | 244 | } |
245 | 245 | ||
246 | lbs_deb_leave(LBS_DEB_CMD); | 246 | lbs_deb_leave(LBS_DEB_CMD); |