2009-05-31 15:04:45 +00:00
|
|
|
--- a/tools/wlanconfig.c
|
|
|
|
+++ b/tools/wlanconfig.c
|
2009-07-12 00:00:51 +00:00
|
|
|
@@ -560,7 +560,7 @@ ieee80211_ntoa(const uint8_t mac[IEEE802
|
|
|
|
static void
|
|
|
|
list_stations(const char *ifname)
|
|
|
|
{
|
|
|
|
- uint8_t buf[24*1024];
|
|
|
|
+ static uint8_t buf[24*1024];
|
|
|
|
struct iwreq iwr;
|
|
|
|
uint8_t *cp;
|
|
|
|
int s, len;
|
2009-05-31 15:04:45 +00:00
|
|
|
@@ -653,7 +653,7 @@ list_stations(const char *ifname)
|
|
|
|
static void
|
|
|
|
list_scan(const char *ifname)
|
|
|
|
{
|
|
|
|
- uint8_t buf[24 * 1024];
|
|
|
|
+ static uint8_t buf[24 * 1024];
|
|
|
|
char ssid[14];
|
|
|
|
uint8_t *cp;
|
|
|
|
int len;
|