summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-wireless/ipw2100/files/ipw2100-1.0.2-2.6.10-susp.patch')
-rw-r--r--net-wireless/ipw2100/files/ipw2100-1.0.2-2.6.10-susp.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/net-wireless/ipw2100/files/ipw2100-1.0.2-2.6.10-susp.patch b/net-wireless/ipw2100/files/ipw2100-1.0.2-2.6.10-susp.patch
new file mode 100644
index 000000000000..c143cc4faa1c
--- /dev/null
+++ b/net-wireless/ipw2100/files/ipw2100-1.0.2-2.6.10-susp.patch
@@ -0,0 +1,12 @@
+diff -urp ipw2100-1.0.2/ipw2100.c ipw2100-1.0.2-2.6.10-susp/ipw2100.c
+--- ipw2100-1.0.2/ipw2100.c 2004-12-14 07:29:32.000000000 +0100
++++ ipw2100-1.0.2-2.6.10-susp/ipw2100.c 2005-01-02 16:09:26.989931600 +0100
+@@ -6718,6 +6718,8 @@ static int ipw2100_suspend(struct pci_de
+
+ #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,10)
+ pci_save_state(pci_dev, priv->pm_state);
++#else
++ pci_save_state(pci_dev);
+ #endif
+ pci_set_power_state(pci_dev, state);
+