summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2007-07-06 07:59:40 -0400
committerJohn W. Linville <linville@tuxdriver.com>2007-07-10 14:23:03 -0400
commit777fa98194f91dae24fd12de47eec1cbb0375b29 (patch)
tree4b49e8e88c8762d5ff7712b4b7a47867e819a532 /drivers/net/wireless
parent6b62472a5ff9605aafa43a0a341c32127821f7b2 (diff)
downloadlinux-777fa98194f91dae24fd12de47eec1cbb0375b29.tar.bz2
[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>
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r--drivers/net/wireless/libertas/cmd.c2
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,
if (*enable)
penableRSN->enable = cpu_to_le16(cmd_enable_rsn);
else
- penableRSN->enable = cpu_to_le16(cmd_enable_rsn);
+ penableRSN->enable = cpu_to_le16(cmd_disable_rsn);
}
lbs_deb_leave(LBS_DEB_CMD);