1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-19 04:18:26 +02:00

madwifi: fix another instance of excessive stack usage in wlanconfig

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16788 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2009-07-12 00:00:51 +00:00
parent 32a3e524bf
commit e05f80b547

View File

@ -1,5 +1,14 @@
--- a/tools/wlanconfig.c --- a/tools/wlanconfig.c
+++ b/tools/wlanconfig.c +++ b/tools/wlanconfig.c
@@ -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;
@@ -653,7 +653,7 @@ list_stations(const char *ifname) @@ -653,7 +653,7 @@ list_stations(const char *ifname)
static void static void
list_scan(const char *ifname) list_scan(const char *ifname)