summaryrefslogtreecommitdiff
path: root/package/madwifi/patches/432-netdev_ops.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-10-17 04:56:05 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-10-17 04:56:05 +0000
commitfdb032fd772da4d6a5a77a166e5f90c631114133 (patch)
tree0700d8c121b6085a24b6e70985b47240ebec09f7 /package/madwifi/patches/432-netdev_ops.patch
parent6e9ada01c0a6bfd36a548a1b619cb97d843e78ce (diff)
downloadmtk-20170518-fdb032fd772da4d6a5a77a166e5f90c631114133.zip
mtk-20170518-fdb032fd772da4d6a5a77a166e5f90c631114133.tar.gz
mtk-20170518-fdb032fd772da4d6a5a77a166e5f90c631114133.tar.bz2
madwifi: fix various noderef/memleak issues
SVN-Revision: 18052
Diffstat (limited to 'package/madwifi/patches/432-netdev_ops.patch')
-rw-r--r--package/madwifi/patches/432-netdev_ops.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/madwifi/patches/432-netdev_ops.patch b/package/madwifi/patches/432-netdev_ops.patch
index 372000f..2e542bf 100644
--- a/package/madwifi/patches/432-netdev_ops.patch
+++ b/package/madwifi/patches/432-netdev_ops.patch
@@ -69,7 +69,7 @@ http://madwifi-project.org/changeset/4005
case NETDEV_CHANGENAME:
--- a/net80211/ieee80211.c
+++ b/net80211/ieee80211.c
-@@ -450,6 +450,18 @@ ieee80211_ifdetach(struct ieee80211com *
+@@ -451,6 +451,18 @@ ieee80211_ifdetach(struct ieee80211com *
}
EXPORT_SYMBOL(ieee80211_ifdetach);
@@ -88,7 +88,7 @@ http://madwifi-project.org/changeset/4005
int
ieee80211_vap_setup(struct ieee80211com *ic, struct net_device *dev,
const char *name, int opmode, int flags, struct ieee80211vap *master)
-@@ -470,16 +482,21 @@ ieee80211_vap_setup(struct ieee80211com
+@@ -471,16 +483,21 @@ ieee80211_vap_setup(struct ieee80211com
} else
strncpy(dev->name, name, sizeof(dev->name));
}
@@ -110,7 +110,7 @@ http://madwifi-project.org/changeset/4005
dev->tx_queue_len = 0; /* NB: bypass queuing */
dev->hard_header_len = parent->hard_header_len;
/*
-@@ -1823,7 +1840,11 @@ ieee80211_set_multicast_list(struct net_
+@@ -1824,7 +1841,11 @@ ieee80211_set_multicast_list(struct net_
IEEE80211_UNLOCK_IRQ(ic);
/* XXX: Merge multicast list into parent device */