diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-01-17 01:38:07 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-01-17 01:38:07 +0000 |
commit | 9e219ca63654c28f0f63378a4f176fb8da6d5b5e (patch) | |
tree | f229079fb188e5c3e9fda0d76225a9ca5ea5e74f /package/mac80211/patches/300-ath9k_fix_init_crash.patch | |
parent | 682557cca159feecf97ec8cfa025954b4f56b5a0 (diff) |
mac80211: upgrade to compat-wireless 2010-01-15
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19176 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mac80211/patches/300-ath9k_fix_init_crash.patch')
-rw-r--r-- | package/mac80211/patches/300-ath9k_fix_init_crash.patch | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/package/mac80211/patches/300-ath9k_fix_init_crash.patch b/package/mac80211/patches/300-ath9k_fix_init_crash.patch deleted file mode 100644 index 8f3540b5d4..0000000000 --- a/package/mac80211/patches/300-ath9k_fix_init_crash.patch +++ /dev/null @@ -1,35 +0,0 @@ ---- a/drivers/net/wireless/ath/ath9k/ahb.c -+++ b/drivers/net/wireless/ath/ath9k/ahb.c -@@ -121,6 +121,9 @@ static int ath_ahb_probe(struct platform - sc->mem = mem; - sc->irq = irq; - -+ /* Will be cleared in ath9k_start() */ -+ sc->sc_flags |= SC_OP_INVALID; -+ - ret = request_irq(irq, ath_isr, IRQF_SHARED, "ath9k", sc); - if (ret) { - dev_err(&pdev->dev, "request_irq failed\n"); ---- a/drivers/net/wireless/ath/ath9k/init.c -+++ b/drivers/net/wireless/ath/ath9k/init.c -@@ -534,8 +534,6 @@ static int ath9k_init_softc(u16 devid, s - int ret = 0, i; - int csz = 0; - -- sc->sc_flags |= SC_OP_INVALID; -- - ah = kzalloc(sizeof(struct ath_hw), GFP_KERNEL); - if (!ah) - return -ENOMEM; ---- a/drivers/net/wireless/ath/ath9k/pci.c -+++ b/drivers/net/wireless/ath/ath9k/pci.c -@@ -202,6 +202,9 @@ static int ath_pci_probe(struct pci_dev - sc->dev = &pdev->dev; - sc->mem = mem; - -+ /* Will be cleared in ath9k_start() */ -+ sc->sc_flags |= SC_OP_INVALID; -+ - ret = request_irq(pdev->irq, ath_isr, IRQF_SHARED, "ath9k", sc); - if (ret) { - dev_err(&pdev->dev, "request_irq failed\n"); |