summaryrefslogtreecommitdiff
path: root/drivers/net/wireless
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2007-07-06 11:59:40 (GMT)
committerJohn W. Linville <linville@tuxdriver.com>2007-07-10 18:23:03 (GMT)
commit777fa98194f91dae24fd12de47eec1cbb0375b29 (patch)
tree4b49e8e88c8762d5ff7712b4b7a47867e819a532 /drivers/net/wireless
parent6b62472a5ff9605aafa43a0a341c32127821f7b2 (diff)
downloadlinux-777fa98194f91dae24fd12de47eec1cbb0375b29.tar.xz
[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 13f6528..4a8f5dc 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);