diff options
author | Felix Fietkau <nbd@openwrt.org> | 2009-07-12 00:00:51 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2009-07-12 00:00:51 +0000 |
commit | bcbdd2a425f2849a15547671e98f01ae967bd78f (patch) | |
tree | a5542c66bee4d6680d0bc1614dd0fc6e6b0392f7 /package/madwifi | |
parent | eb990941a1729e0f1a49d18246e0b6a24c37386c (diff) | |
download | mtk-20170518-bcbdd2a425f2849a15547671e98f01ae967bd78f.zip mtk-20170518-bcbdd2a425f2849a15547671e98f01ae967bd78f.tar.gz mtk-20170518-bcbdd2a425f2849a15547671e98f01ae967bd78f.tar.bz2 |
madwifi: fix another instance of excessive stack usage in wlanconfig
SVN-Revision: 16788
Diffstat (limited to 'package/madwifi')
-rw-r--r-- | package/madwifi/patches/439-wlanconfig_stack_usage.patch | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/package/madwifi/patches/439-wlanconfig_stack_usage.patch b/package/madwifi/patches/439-wlanconfig_stack_usage.patch index dc23992..f346143 100644 --- a/package/madwifi/patches/439-wlanconfig_stack_usage.patch +++ b/package/madwifi/patches/439-wlanconfig_stack_usage.patch @@ -1,5 +1,14 @@ --- 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) |