[PATCH] Advertise 11g rates
Brajesh Dave
brajeshd at marvell.com
Fri Aug 17 04:22:28 EDT 2007
This patch includes support for advertising 11g data rates in the
supported rates IE since libertas supports these rates. This change also
allows 11g rates to be specified as fixed rates using the iwconfig rate
command.
>From brajeshd at marvell.com Mon Sep 17 00:00:00 2001
---
drivers/net/wireless/libertas/join.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/wireless/libertas/join.c
b/drivers/net/wireless/libertas/join.c
index ccb0df1..9de550a 100644
--- a/drivers/net/wireless/libertas/join.c
+++ b/drivers/net/wireless/libertas/join.c
@@ -550,8 +550,8 @@ int libertas_cmd_80211_ad_hoc_start(wlan_private *
priv,
adhs->probedelay = cpu_to_le16(CMD_SCAN_PROBE_DELAY_TIME);
memset(adhs->rates, 0, sizeof(adhs->rates));
- ratesize = min(sizeof(adhs->rates), sizeof(adhoc_rates_b));
- memcpy(adhs->rates, adhoc_rates_b, ratesize);
+ ratesize = min(sizeof(adhs->rates), sizeof(libertas_bg_rates));
+ memcpy(adhs->rates, libertas_bg_rates, ratesize);
/* Copy the ad-hoc creating rates into Current BSS state structure
*/
memset(&adapter->curbssparams.rates, 0,
sizeof(adapter->curbssparams.rates));
--
1.5.2.4
More information about the libertas-dev
mailing list