aboutsummaryrefslogtreecommitdiffstats
path: root/package/madwifi/patches/434-name-alloc-fix.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-10-07 12:50:15 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-10-07 12:50:15 +0000
commitfafaa38ae55cab486f2b929a131fe433ce180224 (patch)
tree25d7e19e357623b44714e2052228a7e05eb3ade7 /package/madwifi/patches/434-name-alloc-fix.patch
parent6f752c725a5b592dff8c17f0fe4e905de22b8112 (diff)
downloadupstream-fafaa38ae55cab486f2b929a131fe433ce180224.tar.gz
upstream-fafaa38ae55cab486f2b929a131fe433ce180224.tar.bz2
upstream-fafaa38ae55cab486f2b929a131fe433ce180224.zip
move a few unmaintained packages from trunk to /packages
SVN-Revision: 33634
Diffstat (limited to 'package/madwifi/patches/434-name-alloc-fix.patch')
-rw-r--r--package/madwifi/patches/434-name-alloc-fix.patch28
1 files changed, 0 insertions, 28 deletions
diff --git a/package/madwifi/patches/434-name-alloc-fix.patch b/package/madwifi/patches/434-name-alloc-fix.patch
deleted file mode 100644
index ab277630de..0000000000
--- a/package/madwifi/patches/434-name-alloc-fix.patch
+++ /dev/null
@@ -1,28 +0,0 @@
---- a/ath/if_ath_ahb.c
-+++ b/ath/if_ath_ahb.c
-@@ -311,6 +311,11 @@ init_ath_wmac(u_int16_t devid, u_int16_t
- SET_MODULE_OWNER(dev);
- sclist[wlanNum] = sc;
-
-+ if (dev_alloc_name(dev, dev->name) < 0) {
-+ printk(KERN_ERR "%s: cannot allocate name\n", dev_info);
-+ goto bad3;
-+ }
-+
- switch (wlanNum) {
- case AR531X_WLAN0_NUM:
- if (((devid & AR5315_REV_MAJ_M) == AR5315_REV_MAJ) ||
---- a/ath/if_ath_pci.c
-+++ b/ath/if_ath_pci.c
-@@ -236,6 +236,11 @@ ath_pci_probe(struct pci_dev *pdev, cons
- */
- sc->aps_sc.sc_invalid = 1;
-
-+ if (dev_alloc_name(dev, dev->name) < 0) {
-+ printk(KERN_ERR "%s: cannot allocate name\n", dev_info);
-+ goto bad3;
-+ }
-+
- dev->irq = pdev->irq;
-
- SET_MODULE_OWNER(dev);