update acx-mac80211
[openwrt-10.03/.git] / package / acx-mac80211 / patches / 011-no_pm.patch
index 09a00b04e5e3ed7ad7f3b81b18899985afc15446..a78e453a894c1c97510f46b04b4a9c00a473d04a 100644 (file)
        fail_register_netdev:
        ieee80211_free_hw(ieee);
        done:
-@@ -1872,7 +1876,9 @@
+@@ -1809,7 +1821,9 @@
        ieee80211_free_hw(adev->ieee);
  
        /* put device into ACPI D3 mode (shutdown) */
 +#ifdef CONFIG_PM
        pci_set_power_state(pdev, PCI_D3hot);
 +#endif
- //    kfree(ieee);
        end:
        FN_EXIT0;
+ }
\ No newline at end of file