diff options
author | Felix Fietkau <nbd@openwrt.org> | 2007-10-24 04:35:02 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2007-10-24 04:35:02 +0000 |
commit | 479cf96993cb70f8c69ba590238e27a56dc7091d (patch) | |
tree | 5017728e3dd12a451936b32a4b655be919db6dba /package/madwifi/patches/128-adhoc_memleak.patch | |
parent | 788a010131706f80582e9577d2fa43fb8b33e22b (diff) | |
download | upstream-479cf96993cb70f8c69ba590238e27a56dc7091d.tar.gz upstream-479cf96993cb70f8c69ba590238e27a56dc7091d.tar.bz2 upstream-479cf96993cb70f8c69ba590238e27a56dc7091d.zip |
upgrade madwifi to r2756
SVN-Revision: 9422
Diffstat (limited to 'package/madwifi/patches/128-adhoc_memleak.patch')
-rw-r--r-- | package/madwifi/patches/128-adhoc_memleak.patch | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/package/madwifi/patches/128-adhoc_memleak.patch b/package/madwifi/patches/128-adhoc_memleak.patch deleted file mode 100644 index 6f3ad49a1e..0000000000 --- a/package/madwifi/patches/128-adhoc_memleak.patch +++ /dev/null @@ -1,26 +0,0 @@ -Index: madwifi-ng-r2568-20070710/net80211/ieee80211_input.c -=================================================================== ---- madwifi-ng-r2568-20070710.orig/net80211/ieee80211_input.c 2007-10-20 20:52:09.000000000 +0200 -+++ madwifi-ng-r2568-20070710/net80211/ieee80211_input.c 2007-10-20 20:52:44.000000000 +0200 -@@ -2875,7 +2875,7 @@ - } - if ((vap->iv_opmode == IEEE80211_M_IBSS) && - (scan.capinfo & IEEE80211_CAPINFO_IBSS)) { -- if (!IEEE80211_ADDR_EQ(wh->i_addr2, ni->ni_macaddr)) { -+ if (ni == vap->iv_bss) { - /* 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-10-20 20:52:09.000000000 +0200 -+++ madwifi-ng-r2568-20070710/net80211/ieee80211_node.c 2007-10-20 20:52:39.000000000 +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]); |