dc239927fd701ded07328ce05d1b15f74b513dfc
[openwrt-10.03/.git] / package / madwifi / patches / 439-wlanconfig_stack_usage.patch
1 --- a/tools/wlanconfig.c
2 +++ b/tools/wlanconfig.c
3 @@ -653,7 +653,7 @@ list_stations(const char *ifname)
4  static void
5  list_scan(const char *ifname)
6  {
7 -       uint8_t buf[24 * 1024];
8 +       static uint8_t buf[24 * 1024];
9         char ssid[14];
10         uint8_t *cp;
11         int len;