libertas: fix warning about adhoc_rates_b
PATCH 1/1 libertas: fix warning about adhoc_rates_b
Patch d2b5c42a113ab03cf32acb99b408041264915e97 made libertas advertise g rades, so remove the now unused b rates.
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.
*/
Quoted 2 lines · Holger Schurig
Patch
d2b5c42a113ab03cf32acb99b408041264915e97made libertas advertise g rades, so remove the now unused b rates.
Identical patch is already in net-2.6.24.
John
Signature · 2 lines
John W. Linville [email protected]