[PATCH] libertas: fix warning about adhoc_rates_b

Holger Schurig hs4233 at mail.mn-solutions.de
Mon Oct 8 05:35:39 EDT 2007


Patch d2b5c42a113ab03cf32acb99b408041264915e97 made libertas 
advertise g rades, so remove the now unused b rates.

Signed-off-by: Holger Schurig <hs4233 at mail.mn-solutions.de>

Index: libertas-2.6/drivers/net/wireless/libertas/join.c
===================================================================
--- libertas-2.6.orig/drivers/net/wireless/libertas/join.c	
2007-10-08 12:12:59.000000000 +0200
+++ libertas-2.6/drivers/net/wireless/libertas/join.c	2007-10-08 
12:13:08.000000000 +0200
@@ -17,9 +17,6 @@
 #include "dev.h"
 #include "assoc.h"
 
-/* Supported rates for ad-hoc B mode */
-static u8 adhoc_rates_b[5] = { 0x02, 0x04, 0x0b, 0x16, 0x00 };
-
 /* The firmware needs certain bits masked out of the 
beacon-derviced capability
  * field when associating/joining to BSSs.
  */



More information about the libertas-dev mailing list