aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorHolger Schurig <hs4233@mail.mn-solutions.de>2007-08-02 11:45:30 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-10 16:49:49 -0700
commitc23a24f6ae083e058ed1e9472979df09915ffdf5 (patch)
tree9fa2d743045d373cced4f29bc14618d23d724dfd /drivers
parent1df4e8fe91d5bab3fd7ae7f115e43c52010cd4ad (diff)
[PATCH] libertas: fix one more sparse warning
adhoc_rates_b is only used locally, so make it static Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/wireless/libertas/join.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/libertas/join.c b/drivers/net/wireless/libertas/join.c
index 78e398d6f5f..f71c172101a 100644
--- a/drivers/net/wireless/libertas/join.c
+++ b/drivers/net/wireless/libertas/join.c
@@ -18,7 +18,7 @@
#include "assoc.h"
/* Supported rates for ad-hoc B mode */
-u8 adhoc_rates_b[5] = { 0x02, 0x04, 0x0b, 0x16, 0x00 };
+static u8 adhoc_rates_b[5] = { 0x02, 0x04, 0x0b, 0x16, 0x00 };
/**