Skip to contentSkip to conversation

libertas: fix warning about adhoc_rates_b

PATCH In review Holger Schurig 2 participants 2 messages Oct 8, 2007 – Oct 9, 2007

lore
Share & tools
lore
#0 lore raw

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.
*/

#1 lore raw
Quoted 2 lines · Holger Schurig

Patch d2b5c42a113ab03cf32acb99b408041264915e97 made 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]