Skip to content

Commit

Permalink
[PATCH] libertas: fix one more sparse warning
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Holger Schurig authored and David S. Miller committed Oct 10, 2007
1 parent 1df4e8f commit c23a24f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/wireless/libertas/join.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 };


/**
Expand Down

0 comments on commit c23a24f

Please sign in to comment.