summaryrefslogtreecommitdiff
path: root/package/acx-mac80211/patches
diff options
context:
space:
mode:
authorMatteo Croce <rootkit85@yahoo.it>2007-09-23 21:07:53 +0000
committerMatteo Croce <rootkit85@yahoo.it>2007-09-23 21:07:53 +0000
commitf5295a1064840a59dff7c654a4fc642647ca121a (patch)
treeafece320b0c4b92063848999f90ce446edd3a6c9 /package/acx-mac80211/patches
parent0bf90f2a0da9123618a281959a93004751e4e7d2 (diff)
downloadmtk-20170518-f5295a1064840a59dff7c654a4fc642647ca121a.zip
mtk-20170518-f5295a1064840a59dff7c654a4fc642647ca121a.tar.gz
mtk-20170518-f5295a1064840a59dff7c654a4fc642647ca121a.tar.bz2
update acx-mac80211
SVN-Revision: 9001
Diffstat (limited to 'package/acx-mac80211/patches')
-rw-r--r--package/acx-mac80211/patches/003-endianness_fixes.patch12
-rw-r--r--package/acx-mac80211/patches/011-no_pm.patch4
2 files changed, 2 insertions, 14 deletions
diff --git a/package/acx-mac80211/patches/003-endianness_fixes.patch b/package/acx-mac80211/patches/003-endianness_fixes.patch
index f1d8da5..5ced164 100644
--- a/package/acx-mac80211/patches/003-endianness_fixes.patch
+++ b/package/acx-mac80211/patches/003-endianness_fixes.patch
@@ -107,15 +107,3 @@
"waiting for cards to probe...\n");
res = pci_register_driver(&acxpci_drv_id);
-diff -ruN acx-mac80211-20070610-old/wlan_hdr.h acx-mac80211-20070610-new/wlan_hdr.h
---- acx-mac80211-20070610-old/wlan_hdr.h 2007-06-10 20:23:27.000000000 +0200
-+++ acx-mac80211-20070610-new/wlan_hdr.h 2007-08-30 18:56:23.000000000 +0200
-@@ -125,7 +125,7 @@
- #define IEEE16(a,n) a = n, a##i = n,
- #else
- #ifdef __BIG_ENDIAN
-- #define IEEE16(a,n) a = n a##i = ((n&0xff)*256 + ((n&0xff00/256)),
-+ #define IEEE16(a,n) a = n, a##i = ((n&0xff)*256 + (n&0xff00)/256),
- #endif
- #endif
-
diff --git a/package/acx-mac80211/patches/011-no_pm.patch b/package/acx-mac80211/patches/011-no_pm.patch
index 09a00b0..a78e453 100644
--- a/package/acx-mac80211/patches/011-no_pm.patch
+++ b/package/acx-mac80211/patches/011-no_pm.patch
@@ -20,13 +20,13 @@
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