From 5c105d9f3fd086aff195d3849dcf847d6b0bd927 Mon Sep 17 00:00:00 2001 From: blogic Date: Fri, 5 Oct 2012 10:12:53 +0000 Subject: branch Attitude Adjustment git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@33625 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../madwifi/patches/439-wlanconfig_stack_usage.patch | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 package/madwifi/patches/439-wlanconfig_stack_usage.patch (limited to 'package/madwifi/patches/439-wlanconfig_stack_usage.patch') diff --git a/package/madwifi/patches/439-wlanconfig_stack_usage.patch b/package/madwifi/patches/439-wlanconfig_stack_usage.patch new file mode 100644 index 000000000..f346143c3 --- /dev/null +++ b/package/madwifi/patches/439-wlanconfig_stack_usage.patch @@ -0,0 +1,20 @@ +--- 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; -- cgit v1.2.3