libertas: pass right argument to wlan_cmd_802_11_set_wep
Dan Williams
dcbw at redhat.com
Fri Nov 3 18:22:08 EST 2006
Commit: 60de12bf393ad370282413115346a2ab263bf7b3
Parent: a05943f5d04b77234f33c96e42d136cde78860b0
commit 60de12bf393ad370282413115346a2ab263bf7b3
Author: Dan Williams <dcbw at redhat.com>
AuthorDate: Fri Nov 3 14:43:28 2006 -0200
Commit: Marcelo Tosatti <mtosatti at redhat.com>
CommitDate: Fri Nov 3 14:43:28 2006 -0200
libertas: pass right argument to wlan_cmd_802_11_set_wep
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:
---
drivers/net/wireless/libertas/wlan_cmd.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
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 Commits-kernel
mailing list