1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-05 04:25:05 +02:00
openwrt-xburst/package/madwifi/patches/439-wlanconfig_stack_usage.patch
nbd a75dace023 madwifi: fix excessive stack usage in the wlanconfig tool
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16235 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-31 15:04:45 +00:00

12 lines
253 B
Diff

--- a/tools/wlanconfig.c
+++ b/tools/wlanconfig.c
@@ -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;