Root/
| 1 | --- a/tools/wlanconfig.c |
| 2 | +++ b/tools/wlanconfig.c |
| 3 | @@ -560,7 +560,7 @@ ieee80211_ntoa(const uint8_t mac[IEEE802 |
| 4 | static void |
| 5 | list_stations(const char *ifname) |
| 6 | { |
| 7 | - uint8_t buf[24*1024]; |
| 8 | + static uint8_t buf[24*1024]; |
| 9 | struct iwreq iwr; |
| 10 | uint8_t *cp; |
| 11 | int s, len; |
| 12 | @@ -653,7 +653,7 @@ list_stations(const char *ifname) |
| 13 | static void |
| 14 | list_scan(const char *ifname) |
| 15 | { |
| 16 | - uint8_t buf[24 * 1024]; |
| 17 | + static uint8_t buf[24 * 1024]; |
| 18 | char ssid[14]; |
| 19 | uint8_t *cp; |
| 20 | int len; |
| 21 |
