[PATCH] libertas: update to WE-18

Dan Williams dcbw at redhat.com
Wed Nov 1 00:55:08 EST 2006


On Fri, 2006-10-20 at 23:25 -0400, Dan Williams wrote:
> Implement WE-18 handlers for WPA and consolidate security/encryption
> calls into a common set of functions and key structures.  Doesn't work
> with WPA yet due to the lack of deferred association, but it's no worse
> than before.
> 
> Signed-off-by: Dan Williams <dcbw at redhat.com>

The WE-18 patch had a slight omission that breaks WEP.  The attached
patch fixes that by passing the right argument to
wlan_cmd_802_11_set_wep.

Signed-off-by: Dan Williams <dcbw at redhat.com>

diff --git a/drivers/net/wireless/libertas/wlan_cmd.c b/drivers/net/wireless/libertas/wlan_cmd.c
index c1595e5..abcdce9 100644
--- a/drivers/net/wireless/libertas/wlan_cmd.c
+++ b/drivers/net/wireless/libertas/wlan_cmd.c
@@ -1466,7 +1466,7 @@ int libertas_prepare_and_send_command(wl
 		break;
 
 	case HostCmd_CMD_802_11_SET_WEP:
-		ret = wlan_cmd_802_11_set_wep(priv, CmdPtr, cmd_oid);
+		ret = wlan_cmd_802_11_set_wep(priv, CmdPtr, cmd_action);
 		break;
 
 	case HostCmd_CMD_802_11_AD_HOC_START:





More information about the libertas-dev mailing list