From: Dan Williams Date: Fri, 6 Jul 2007 11:59:40 +0000 (-0400) Subject: [PATCH] libertas: fix disabling WPA X-Git-Tag: v2.6.23-rc1~768^2~18^2~2 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=777fa98194f91dae24fd12de47eec1cbb0375b29;p=linux-2.6-omap-h63xx.git [PATCH] libertas: fix disabling WPA Found by Guillaume LECERF Signed-off-by: Dan Williams Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/libertas/cmd.c b/drivers/net/wireless/libertas/cmd.c index 13f6528abb0..4a8f5dc7023 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);