diff options
author | Felix Fietkau <nbd@openwrt.org> | 2007-07-23 22:05:00 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2007-07-23 22:05:00 +0000 |
commit | 0a9cc878be11847b461f020490894c46db67e9ec (patch) | |
tree | 4ee48bf86d2c33caf377b6d4b3a8d7127ab4d40d /package/madwifi/patches/128-adhoc_memleak.patch | |
parent | 2610ed6019375cf98d651d0c153c58f1e979ae75 (diff) | |
download | upstream-0a9cc878be11847b461f020490894c46db67e9ec.tar.gz upstream-0a9cc878be11847b461f020490894c46db67e9ec.tar.bz2 upstream-0a9cc878be11847b461f020490894c46db67e9ec.zip |
merge madwifi trunk changeset 2597
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8136 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/madwifi/patches/128-adhoc_memleak.patch')
-rw-r--r-- | package/madwifi/patches/128-adhoc_memleak.patch | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/package/madwifi/patches/128-adhoc_memleak.patch b/package/madwifi/patches/128-adhoc_memleak.patch index 75c2261429..3fca4ef983 100644 --- a/package/madwifi/patches/128-adhoc_memleak.patch +++ b/package/madwifi/patches/128-adhoc_memleak.patch @@ -1,7 +1,7 @@ Index: madwifi-ng-r2568-20070710/net80211/ieee80211_input.c =================================================================== ---- madwifi-ng-r2568-20070710.orig/net80211/ieee80211_input.c 2007-07-23 01:48:42.282389707 +0200 -+++ madwifi-ng-r2568-20070710/net80211/ieee80211_input.c 2007-07-23 01:48:44.214499810 +0200 +--- madwifi-ng-r2568-20070710.orig/net80211/ieee80211_input.c 2007-07-24 00:01:54.068861828 +0200 ++++ madwifi-ng-r2568-20070710/net80211/ieee80211_input.c 2007-07-24 00:02:44.035709278 +0200 @@ -2875,7 +2875,7 @@ } if ((vap->iv_opmode == IEEE80211_M_IBSS) && @@ -11,3 +11,16 @@ Index: madwifi-ng-r2568-20070710/net80211/ieee80211_input.c /* Create a new entry in the neighbor table. */ ni = ieee80211_add_neighbor(vap, wh, &scan); } else { +Index: madwifi-ng-r2568-20070710/net80211/ieee80211_node.c +=================================================================== +--- madwifi-ng-r2568-20070710.orig/net80211/ieee80211_node.c 2007-07-24 00:02:51.284122342 +0200 ++++ madwifi-ng-r2568-20070710/net80211/ieee80211_node.c 2007-07-24 00:03:04.540877800 +0200 +@@ -1205,7 +1205,7 @@ + struct ieee80211com *ic = vap->iv_ic; + struct ieee80211_node *ni; + +- ni = ieee80211_dup_bss(vap, wh->i_addr2, 1); ++ ni = ieee80211_dup_bss(vap, wh->i_addr2, 0); + if (ni != NULL) { + ni->ni_esslen = sp->ssid[1]; + memcpy(ni->ni_essid, sp->ssid + 2, sp->ssid[1]); |