madwifi: handle frame classification properly if eth->h_proto contains the protocol...
[openwrt/staging/chunkeey.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;