aboutsummaryrefslogtreecommitdiffstats
path: root/package/madwifi/patches/439-wlanconfig_stack_usage.patch
blob: dc239927fd701ded07328ce05d1b15f74b513dfc (plain)
1
2
3
4
5
6
7
8
9
10
11
--- 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;