1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-18 04:13:09 +02:00
openwrt-xburst/package/madwifi/patches/439-wlanconfig_stack_usage.patch

21 lines
469 B
Diff
Raw Normal View History

--- a/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)
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;