Browse Source

Refresh patches

Matthias Schiffer 7 years ago
parent
commit
7dce74c0f9
100 changed files with 341 additions and 341 deletions
  1. 1 1
      patches/openwrt/0001-tools-Makefile-fix-host-tools-build-dependencies.patch
  2. 1 1
      patches/openwrt/0002-procd-add-support-for-alternative-rc.d-directories.patch
  3. 1 1
      patches/openwrt/0003-odhcp6c-always-accept-RDNSS-independent-of-the-default-router-lifetime.patch
  4. 1 1
      patches/openwrt/0004-busybox-enable-telnet-only-when-root-password-is-really-empty-not-when-it-is-locked.patch
  5. 1 1
      patches/openwrt/0005-base-files-disable-reset-button-handling.patch
  6. 1 1
      patches/openwrt/0006-ar71xx-define-wmac-reset-function-for-QCA955x.patch
  7. 112 112
      patches/openwrt/0007-mac80211-hostapd-iw-.-update.patch
  8. 1 1
      patches/openwrt/0008-iwinfo-update-NanoStation-Loco-txpower-offsets.patch
  9. 1 1
      patches/openwrt/0009-hostapd-prevent-channel-switch-for-5GHz.patch
  10. 1 1
      patches/openwrt/0010-ipv6-fix-crash-on-ICMPv6-redirects-with-prohibited-blackholed-source.patch
  11. 1 1
      patches/openwrt/0011-lua-fix-installation-of-headers-for-host-build.patch
  12. 1 1
      patches/openwrt/0012-kernel-fs-seq_file-fallback-to-vmalloc-instead-of-oom-kill-processes.patch
  13. 1 1
      patches/openwrt/0013-fix-UBNT-XM-model-detection.patch
  14. 3 3
      patches/openwrt/0014-base-files-implemented-basic-GPIO-control.patch
  15. 1 1
      patches/openwrt/0015-ar71xx-assign-proper-GPIO-pin-for-Ubiquiti-Nanostation-models.patch
  16. 4 4
      patches/openwrt/0016-netifd-update-to-latest-version.patch
  17. 1 1
      patches/openwrt/0017-x86-fix-platform_export_bootpart-for-Xen-virtual-disks.patch
  18. 1 1
      patches/openwrt/0018-Support-LibreSSL-as-provider-of-openssl.patch
  19. 1 1
      patches/openwrt/0019-ar71xx-check-both-HWID-and-HWREV-on-upgrades-of-TP-LINK-devices.patch
  20. 1 1
      patches/openwrt/0020-ar71xx-avoid-AR71XX_MODEL-ending-with-a-space-on-some-TP-LINK-like-devices.patch
  21. 1 1
      patches/openwrt/0021-ar71xx-fix-the-revision-of-a-few-TP-LINK-devices-in-AR71XX_MODEL-to-match-labels-image-names.patch
  22. 1 1
      patches/openwrt/0022-ar71xx-build-image-for-TL-WR710N-v2.1.patch
  23. 2 2
      patches/openwrt/0023-xtables-addons-build-fix-configure-compatiblity-with-POSIX-shells.patch
  24. 3 3
      patches/openwrt/0024-tools-add-tar-host-build-required-for-sort-name-which-was-only-added-in-the-latest-version.patch
  25. 1 1
      patches/openwrt/0025-tools-compile-flock-before-everything-else.patch
  26. 1 1
      patches/openwrt/0026-rules.mk-make-the-locked-template-available-even-if-flock-has-not-been-built-yet-fall-back-to-unlocked-shell-command.patch
  27. 1 1
      patches/openwrt/0027-build-add-locking-for-downloads-fixes-race-conditions-with-multiple-variants.patch
  28. 1 1
      patches/openwrt/0028-download.mk-fix-packed-checkout-mirroring-support.patch
  29. 16 16
      patches/openwrt/0029-kernel-backport-spi-nor-driver-from-4.4.9.patch
  30. 2 2
      patches/openwrt/0030-kernel-mtd-spi-nor-wait-until-status-register-writes-are-ready.patch
  31. 1 1
      patches/openwrt/0031-kernel-mtd-spi-nor-unlock-Winbond-flashs.patch
  32. 1 1
      patches/openwrt/0032-ath79-dev-eth-fix-QCA9561-set-phy-interface-mode-and-mask.patch
  33. 1 1
      patches/openwrt/0033-ar71xx-use-correct-PLL-configuration-register-bitmask-for-QCA956x-SoC.patch
  34. 2 2
      patches/openwrt/0034-ar71xx-update-QCA956x-support.patch
  35. 1 1
      patches/openwrt/0035-ar71xx-fold-patch-622-MIPS-ath79-add-support-for-QCA956x-ethernet.patch-into-files.patch
  36. 1 1
      patches/openwrt/0036-ar71xx-fix-MDIO-bus-probe-on-QCA956x.patch
  37. 1 1
      patches/openwrt/0037-ar71xx-fix-qca956x-ethernet-initialization.patch
  38. 11 11
      patches/openwrt/0038-ar71xx-Support-for-Ubiquiti-UniFi-AP-AC-LITE.patch
  39. 1 1
      patches/openwrt/0039-ar71xx-Fix-eth0-support-for-Ubiquiti-UniFi-AP-AC.patch
  40. 9 9
      patches/openwrt/0040-ar71xx-Rename-unifiac-to-unifiac-lite.patch
  41. 9 9
      patches/openwrt/0041-ar71xx-Add-support-for-Ubiquiti-UniFi-AP-AC-PRO.patch
  42. 1 1
      patches/openwrt/0042-libjson-c-Add-support-for-custom-format-strings-for-doubles.patch
  43. 3 3
      patches/openwrt/0043-ath9k-add-HSR-tuner-support-for-UniFi-Outdoor-Plus.patch
  44. 1 1
      patches/openwrt/0044-ar71xx-Send-power-to-USB-port-on-WNR2200.patch
  45. 1 1
      patches/openwrt/0045-ar71xx-WNR2200-fix-for-random-WLAN-MAC.patch
  46. 2 2
      patches/openwrt/0046-ar71xx-WNR2200-enable-control-of-all-LEDs-and-buttons.patch
  47. 10 10
      patches/openwrt/0047-ar71xx-add-GL-AR150-support.patch
  48. 2 2
      patches/openwrt/0048-build-don-t-add-j-for-parallel-builds-with-Make-4.2.patch
  49. 1 1
      patches/openwrt/0049-tools-cmake-fix-parallel-build-with-Make-4.2.patch
  50. 4 4
      patches/openwrt/0050-linux-make-IPv6-builtin-if-selected-saves-30KB.patch
  51. 1 1
      patches/openwrt/0051-package-ipkg.mk-fix-Provides-for-packages-with-multiple-PROVIDES-entries.patch
  52. 7 7
      patches/openwrt/0052-kernel-remove-packaging-of-kmod-crypto-core-and-kmod-crypto-arc4.patch
  53. 1 1
      patches/openwrt/0053-x86-stop-relying-on-hexdump-for-image-build-signature.patch
  54. 2 2
      patches/openwrt/0054-mt76-fix-build-with-kernel-3.18.patch
  55. 1 1
      patches/openwrt/0055-ramips-Support-LEDs-on-D-Link-DIR-860L-B1.patch
  56. 3 3
      patches/openwrt/0056-ramips-add-button-support-and-make-LEDs-known-to-userspace-for-DIR-860L-B1.patch
  57. 1 1
      patches/openwrt/0057-ramips-set-correct-LAN-WAN-MAC-addresses-on-DIR-860L-B1.patch
  58. 8 8
      patches/openwrt/0058-ar71xx-add-support-for-TP-LINK-TL-WR842N-ND-v3.patch
  59. 1 1
      patches/openwrt/0059-x86-generic-enable-CONFIG_SATA_VIA.patch
  60. 1 1
      patches/openwrt/0060-libpcap-fix-dependency-of-install-shared-so-make-target.patch
  61. 1 1
      patches/openwrt/0061-ar71xx-add-revision-detection-for-D-Link-DIR-505-A1-A2.patch
  62. 1 1
      patches/openwrt/0062-ar71xx-don-t-use-D-Link-DIR-505-status-LED-as-ethernet-indicator.patch
  63. 1 1
      patches/openwrt/0063-ar71xx-cpe510-enable-LNA-for-CPE210-220-510-520.patch
  64. 8 8
      patches/openwrt/0064-ar71xx-cpe510-split-profile-into-2-profiles-cpe210-and-cpe510.patch
  65. 1 1
      patches/openwrt/0065-fw-utils-tplink-safeloader.c-Add-support-for-Archer-C2600.patch
  66. 2 2
      patches/openwrt/0066-tools-tplink-safeloader-split-CPE210-from-CPE510-profile.patch
  67. 11 11
      patches/openwrt/0067-dropbear-update-to-LEDE-277f85c21ae0ede4e15e66cbd801b9fb502531df.patch
  68. 7 7
      patches/openwrt/0068-ar71xx-Added-support-for-TL-WA801NDv3.patch
  69. 2 2
      patches/openwrt/0069-firmware-utils-mktplinkfw-backport-from-LEDE-a4fc62bc0ea4010ddbfbd738453c9db70988a57c.patch
  70. 1 1
      patches/openwrt/0070-ar71xx-backport-support-for-new-TP-Link-region-codes.patch
  71. 1 1
      patches/openwrt/0071-ath10k-firmware-add-ath10k-firmware-qca988x-11s.patch
  72. 2 2
      patches/openwrt/0072-ath9k-revert-temperature-compensation-support-patch-FS-111.patch
  73. 1 1
      patches/openwrt/0073-ath9k-remove-intermediate-queueing-patch-until-it-is-fixed-properly.patch
  74. 1 1
      patches/openwrt/0074-ar71xx-set-EU-region-code-for-TP-Link-TL-WA901ND-v4.patch
  75. 1 1
      patches/openwrt/0075-ar71xx-fix-syntax-error-in-etc-uci-defaults-01_leds.patch
  76. 1 1
      patches/openwrt/0076-ar71xx-generate-region-coded-factory-images-for-TP-Link-TL-WR841ND-v11.patch
  77. 1 1
      patches/openwrt/0077-x86-64-add-pata-drivers.patch
  78. 2 2
      patches/openwrt/0078-x86-add-mmc-drivers-to-generic-64.patch
  79. 1 1
      patches/openwrt/0079-ath9k-fix-ath9k_hw_gpio_get-to-return-0-or-1-on-success.patch
  80. 2 2
      patches/openwrt/0080-ar71xx-ramips-reduce-CPU-load-and-flickering-on-devices-using-rsslieds.patch
  81. 1 1
      patches/openwrt/0081-kernel-add-at803x-fix-for-sgmii-mode.patch
  82. 4 4
      patches/openwrt/0082-ar71xx-fix-LEDs-and-sysupgrade-support-for-TL-WA801ND-v3.patch
  83. 1 1
      patches/openwrt/0083-ar71xx-simplify-model-detection-for-TP-Link-Pharos-devices.patch
  84. 1 1
      patches/openwrt/0084-firmware-utils-tplink-safeloader-update-support-list-for-CPE210-510.patch
  85. 12 12
      patches/openwrt/0085-ar71xx-generic-add-Support-for-TP-LINK-TL-WR940N-v4.patch
  86. 1 1
      patches/packages/luci/0001-fvalue.html-add-label-that-can-be-styled.patch
  87. 1 1
      patches/packages/luci/0002-modules-base-dispatcher-set-default-language-if-none-provided-by-the-browser-matches.patch
  88. 1 1
      patches/packages/luci/0003-luci-lib-jsonc-Ignore-non-string-or-number-keys-in-tables.patch
  89. 1 1
      patches/packages/luci/0004-luci-lib-jsonc-allow-encoding-empty-lists.patch
  90. 1 1
      patches/packages/luci/0005-luci-lib-jsonc-Fix-memory-leak-in-stringify.patch
  91. 2 2
      patches/packages/luci/0006-luci-lib-jsonc-Add-ltn12-compatible-sink-factory.patch
  92. 2 2
      patches/packages/luci/0007-model.uci-add-add_to_set-remove_from_set.patch
  93. 2 2
      patches/packages/luci/0008-Move-rpcd-dependency-from-luci-base-to-luci-mode-rpc.patch
  94. 1 1
      patches/packages/openwrt/0001-node-add-python-host-to-HOST_BUILD_DEPENDS-as-well.patch
  95. 1 1
      patches/packages/openwrt/0002-lua-cjson-add-host-build-support.patch
  96. 1 1
      patches/packages/openwrt/0003-libuecc-update-to-v7.patch
  97. 2 2
      patches/packages/openwrt/0004-fastd-update-to-v18.patch
  98. 1 1
      patches/packages/openwrt/0005-node-update-to-v0.12.14.patch
  99. 1 1
      patches/packages/openwrt/0006-node-fix-undefined-behaviour-leading-to-broken-code-with-GCC-6.patch
  100. 2 2
      patches/packages/openwrt/0007-libuecc-use-shared-instead-of-static-library.patch

+ 1 - 1
patches/openwrt/0001-tools-Makefile-fix-host-tools-build-dependencies.patch

@@ -3,7 +3,7 @@ Date: Sat, 26 Jul 2014 06:10:23 +0200
 Subject: tools/Makefile: fix host tools build dependencies
 Subject: tools/Makefile: fix host tools build dependencies
 
 
 diff --git a/tools/Makefile b/tools/Makefile
 diff --git a/tools/Makefile b/tools/Makefile
-index d2fe2ff..c6cded8 100644
+index d2fe2ffddf4b7207a937ca75efe1c2728e8067aa..c6cded8eccd81c422f99e7ee50754c4bc66decc7 100644
 --- a/tools/Makefile
 --- a/tools/Makefile
 +++ b/tools/Makefile
 +++ b/tools/Makefile
 @@ -95,10 +95,16 @@ define PrepareStaging
 @@ -95,10 +95,16 @@ define PrepareStaging

+ 1 - 1
patches/openwrt/0002-procd-add-support-for-alternative-rc.d-directories.patch

@@ -4,7 +4,7 @@ Subject: procd: add support for alternative rc.d directories
 
 
 diff --git a/package/system/procd/patches/0001-Add-support-for-alternative-rc.d-directories.patch b/package/system/procd/patches/0001-Add-support-for-alternative-rc.d-directories.patch
 diff --git a/package/system/procd/patches/0001-Add-support-for-alternative-rc.d-directories.patch b/package/system/procd/patches/0001-Add-support-for-alternative-rc.d-directories.patch
 new file mode 100644
 new file mode 100644
-index 0000000..bc24342
+index 0000000000000000000000000000000000000000..bc2434200364b46f1db4c2eec22c4e8b973844d5
 --- /dev/null
 --- /dev/null
 +++ b/package/system/procd/patches/0001-Add-support-for-alternative-rc.d-directories.patch
 +++ b/package/system/procd/patches/0001-Add-support-for-alternative-rc.d-directories.patch
 @@ -0,0 +1,97 @@
 @@ -0,0 +1,97 @@

+ 1 - 1
patches/openwrt/0003-odhcp6c-always-accept-RDNSS-independent-of-the-default-router-lifetime.patch

@@ -4,7 +4,7 @@ Subject: odhcp6c: always accept RDNSS, independent of the default router lifetim
 
 
 diff --git a/package/network/ipv6/odhcp6c/patches/001-always_accept_rdnss.patch b/package/network/ipv6/odhcp6c/patches/001-always_accept_rdnss.patch
 diff --git a/package/network/ipv6/odhcp6c/patches/001-always_accept_rdnss.patch b/package/network/ipv6/odhcp6c/patches/001-always_accept_rdnss.patch
 new file mode 100644
 new file mode 100644
-index 0000000..cb694ca
+index 0000000000000000000000000000000000000000..cb694cadf4df4b487b3a4035eacca9c6a7798ecb
 --- /dev/null
 --- /dev/null
 +++ b/package/network/ipv6/odhcp6c/patches/001-always_accept_rdnss.patch
 +++ b/package/network/ipv6/odhcp6c/patches/001-always_accept_rdnss.patch
 @@ -0,0 +1,21 @@
 @@ -0,0 +1,21 @@

+ 1 - 1
patches/openwrt/0004-busybox-enable-telnet-only-when-root-password-is-really-empty-not-when-it-is-locked.patch

@@ -3,7 +3,7 @@ Date: Fri, 5 Dec 2014 18:57:16 +0100
 Subject: busybox: enable telnet only when root password is really empty, not when it is locked
 Subject: busybox: enable telnet only when root password is really empty, not when it is locked
 
 
 diff --git a/package/utils/busybox/files/telnet b/package/utils/busybox/files/telnet
 diff --git a/package/utils/busybox/files/telnet b/package/utils/busybox/files/telnet
-index a1d1cdf..f95be90 100755
+index a1d1cdf9b18d69895e7a08a8b1318f1ff591ea07..f95be90490597f6251d8c3e1247b522dfd9e72c0 100755
 --- a/package/utils/busybox/files/telnet
 --- a/package/utils/busybox/files/telnet
 +++ b/package/utils/busybox/files/telnet
 +++ b/package/utils/busybox/files/telnet
 @@ -11,7 +11,7 @@ has_root_pwd() {
 @@ -11,7 +11,7 @@ has_root_pwd() {

+ 1 - 1
patches/openwrt/0005-base-files-disable-reset-button-handling.patch

@@ -6,7 +6,7 @@ This conflicts with our reset button usage.
 
 
 diff --git a/package/base-files/files/etc/rc.button/reset b/package/base-files/files/etc/rc.button/reset
 diff --git a/package/base-files/files/etc/rc.button/reset b/package/base-files/files/etc/rc.button/reset
 deleted file mode 100755
 deleted file mode 100755
-index 3e24146..0000000
+index 3e241460efbb08abaa775c1a7843b5fa3e237d44..0000000000000000000000000000000000000000
 --- a/package/base-files/files/etc/rc.button/reset
 --- a/package/base-files/files/etc/rc.button/reset
 +++ /dev/null
 +++ /dev/null
 @@ -1,20 +0,0 @@
 @@ -1,20 +0,0 @@

+ 1 - 1
patches/openwrt/0006-ar71xx-define-wmac-reset-function-for-QCA955x.patch

@@ -8,7 +8,7 @@ Backport of LEDE a176168a85477caa44eef7e979567d1d52868fde
 
 
 diff --git a/target/linux/ar71xx/patches-3.18/640-MIPS-ath79-add-QCA955x-wmac-reset.patch b/target/linux/ar71xx/patches-3.18/640-MIPS-ath79-add-QCA955x-wmac-reset.patch
 diff --git a/target/linux/ar71xx/patches-3.18/640-MIPS-ath79-add-QCA955x-wmac-reset.patch b/target/linux/ar71xx/patches-3.18/640-MIPS-ath79-add-QCA955x-wmac-reset.patch
 new file mode 100644
 new file mode 100644
-index 0000000..4ac5acd
+index 0000000000000000000000000000000000000000..4ac5acd618748fc9ad0f091d110d2503cdc39d53
 --- /dev/null
 --- /dev/null
 +++ b/target/linux/ar71xx/patches-3.18/640-MIPS-ath79-add-QCA955x-wmac-reset.patch
 +++ b/target/linux/ar71xx/patches-3.18/640-MIPS-ath79-add-QCA955x-wmac-reset.patch
 @@ -0,0 +1,71 @@
 @@ -0,0 +1,71 @@

File diff suppressed because it is too large
+ 112 - 112
patches/openwrt/0007-mac80211-hostapd-iw-.-update.patch


+ 1 - 1
patches/openwrt/0008-iwinfo-update-NanoStation-Loco-txpower-offsets.patch

@@ -4,7 +4,7 @@ Subject: iwinfo: update NanoStation (Loco) txpower offsets
 
 
 diff --git a/package/network/utils/iwinfo/patches/001-update_nanostation_offsets.patch b/package/network/utils/iwinfo/patches/001-update_nanostation_offsets.patch
 diff --git a/package/network/utils/iwinfo/patches/001-update_nanostation_offsets.patch b/package/network/utils/iwinfo/patches/001-update_nanostation_offsets.patch
 new file mode 100644
 new file mode 100644
-index 0000000..1e13570
+index 0000000000000000000000000000000000000000..1e13570fc2b585a8e33275116370f5438c899633
 --- /dev/null
 --- /dev/null
 +++ b/package/network/utils/iwinfo/patches/001-update_nanostation_offsets.patch
 +++ b/package/network/utils/iwinfo/patches/001-update_nanostation_offsets.patch
 @@ -0,0 +1,14 @@
 @@ -0,0 +1,14 @@

+ 1 - 1
patches/openwrt/0009-hostapd-prevent-channel-switch-for-5GHz.patch

@@ -10,7 +10,7 @@ As a temporary fix, disable this channel switch function.
 
 
 diff --git a/package/network/services/hostapd/patches/900-no_channel_switch.patch b/package/network/services/hostapd/patches/900-no_channel_switch.patch
 diff --git a/package/network/services/hostapd/patches/900-no_channel_switch.patch b/package/network/services/hostapd/patches/900-no_channel_switch.patch
 new file mode 100644
 new file mode 100644
-index 0000000..c614515
+index 0000000000000000000000000000000000000000..c6145156928ffa5a5195ca145b0655bb88c92091
 --- /dev/null
 --- /dev/null
 +++ b/package/network/services/hostapd/patches/900-no_channel_switch.patch
 +++ b/package/network/services/hostapd/patches/900-no_channel_switch.patch
 @@ -0,0 +1,68 @@
 @@ -0,0 +1,68 @@

+ 1 - 1
patches/openwrt/0010-ipv6-fix-crash-on-ICMPv6-redirects-with-prohibited-blackholed-source.patch

@@ -12,7 +12,7 @@ crash.
 
 
 diff --git a/target/linux/generic/patches-3.18/672-ipv6-fix-crash-on-ICMPv6-redirects-with-prohibited-blackholed-source.patch b/target/linux/generic/patches-3.18/672-ipv6-fix-crash-on-ICMPv6-redirects-with-prohibited-blackholed-source.patch
 diff --git a/target/linux/generic/patches-3.18/672-ipv6-fix-crash-on-ICMPv6-redirects-with-prohibited-blackholed-source.patch b/target/linux/generic/patches-3.18/672-ipv6-fix-crash-on-ICMPv6-redirects-with-prohibited-blackholed-source.patch
 new file mode 100644
 new file mode 100644
-index 0000000..6e4b3da
+index 0000000000000000000000000000000000000000..6e4b3da3ad820e789f57df71b33ccfc5eaead01e
 --- /dev/null
 --- /dev/null
 +++ b/target/linux/generic/patches-3.18/672-ipv6-fix-crash-on-ICMPv6-redirects-with-prohibited-blackholed-source.patch
 +++ b/target/linux/generic/patches-3.18/672-ipv6-fix-crash-on-ICMPv6-redirects-with-prohibited-blackholed-source.patch
 @@ -0,0 +1,39 @@
 @@ -0,0 +1,39 @@

+ 1 - 1
patches/openwrt/0011-lua-fix-installation-of-headers-for-host-build.patch

@@ -3,7 +3,7 @@ Date: Tue, 29 Dec 2015 22:48:52 +0100
 Subject: lua: fix installation of headers for host build
 Subject: lua: fix installation of headers for host build
 
 
 diff --git a/package/utils/lua/Makefile b/package/utils/lua/Makefile
 diff --git a/package/utils/lua/Makefile b/package/utils/lua/Makefile
-index 72d5631..c37d99b 100644
+index 72d56316b45dc484888d219aebd98e651edbe415..c37d99b485d58d955b86a033ea776adb54cfa414 100644
 --- a/package/utils/lua/Makefile
 --- a/package/utils/lua/Makefile
 +++ b/package/utils/lua/Makefile
 +++ b/package/utils/lua/Makefile
 @@ -140,6 +140,7 @@ define Host/Install
 @@ -140,6 +140,7 @@ define Host/Install

+ 1 - 1
patches/openwrt/0012-kernel-fs-seq_file-fallback-to-vmalloc-instead-of-oom-kill-processes.patch

@@ -4,7 +4,7 @@ Subject: kernel: fs, seq_file: fallback to vmalloc instead of oom kill processes
 
 
 diff --git a/target/linux/generic/patches-3.18/089-fs-seq_file-fallback-to-vmalloc-instead-of-oom-kill-.patch b/target/linux/generic/patches-3.18/089-fs-seq_file-fallback-to-vmalloc-instead-of-oom-kill-.patch
 diff --git a/target/linux/generic/patches-3.18/089-fs-seq_file-fallback-to-vmalloc-instead-of-oom-kill-.patch b/target/linux/generic/patches-3.18/089-fs-seq_file-fallback-to-vmalloc-instead-of-oom-kill-.patch
 new file mode 100644
 new file mode 100644
-index 0000000..cad56f4
+index 0000000000000000000000000000000000000000..cad56f4275287b73dd5e769ea34daee064ee8d69
 --- /dev/null
 --- /dev/null
 +++ b/target/linux/generic/patches-3.18/089-fs-seq_file-fallback-to-vmalloc-instead-of-oom-kill-.patch
 +++ b/target/linux/generic/patches-3.18/089-fs-seq_file-fallback-to-vmalloc-instead-of-oom-kill-.patch
 @@ -0,0 +1,53 @@
 @@ -0,0 +1,53 @@

+ 1 - 1
patches/openwrt/0013-fix-UBNT-XM-model-detection.patch

@@ -5,7 +5,7 @@ Subject: fix UBNT XM model detection
 Signed-off-by: Neal Oakey <neal.oakey@bingo-ev.de>
 Signed-off-by: Neal Oakey <neal.oakey@bingo-ev.de>
 
 
 diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
 diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
-index a9dca58..0aa1c86 100755
+index a9dca58847fe1fb62a69c5845fda3206407c6727..0aa1c865cbdeb0624147d4117d289a640d20a5ef 100755
 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
 +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
 +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
 @@ -64,6 +64,40 @@ wndr3700_board_detect() {
 @@ -64,6 +64,40 @@ wndr3700_board_detect() {

+ 3 - 3
patches/openwrt/0014-base-files-implemented-basic-GPIO-control.patch

@@ -12,7 +12,7 @@ Backport of r46271
 
 
 diff --git a/package/base-files/files/etc/init.d/gpio_switch b/package/base-files/files/etc/init.d/gpio_switch
 diff --git a/package/base-files/files/etc/init.d/gpio_switch b/package/base-files/files/etc/init.d/gpio_switch
 new file mode 100755
 new file mode 100755
-index 0000000..1f1b44b
+index 0000000000000000000000000000000000000000..1f1b44b2129ce2315943f6a10508eefb66412c48
 --- /dev/null
 --- /dev/null
 +++ b/package/base-files/files/etc/init.d/gpio_switch
 +++ b/package/base-files/files/etc/init.d/gpio_switch
 @@ -0,0 +1,42 @@
 @@ -0,0 +1,42 @@
@@ -59,7 +59,7 @@ index 0000000..1f1b44b
 +	}
 +	}
 +}
 +}
 diff --git a/package/base-files/files/lib/functions/uci-defaults.sh b/package/base-files/files/lib/functions/uci-defaults.sh
 diff --git a/package/base-files/files/lib/functions/uci-defaults.sh b/package/base-files/files/lib/functions/uci-defaults.sh
-index 5a8809d..6577ecd 100644
+index 5a8809d68c89ac0431919f15dad5f5c33351bbf2..6577ecdcde0c856b3e6dd1b9337f23cb782ef2be 100644
 --- a/package/base-files/files/lib/functions/uci-defaults.sh
 --- a/package/base-files/files/lib/functions/uci-defaults.sh
 +++ b/package/base-files/files/lib/functions/uci-defaults.sh
 +++ b/package/base-files/files/lib/functions/uci-defaults.sh
 @@ -2,6 +2,7 @@
 @@ -2,6 +2,7 @@
@@ -102,7 +102,7 @@ index 5a8809d..6577ecd 100644
  set network.loopback='interface'
  set network.loopback='interface'
 diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/01_gpio-switches b/target/linux/ar71xx/base-files/etc/uci-defaults/01_gpio-switches
 diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/01_gpio-switches b/target/linux/ar71xx/base-files/etc/uci-defaults/01_gpio-switches
 new file mode 100644
 new file mode 100644
-index 0000000..81d3982
+index 0000000000000000000000000000000000000000..81d3982ed8bf98e01ce2e161017f088a1d0f60dc
 --- /dev/null
 --- /dev/null
 +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/01_gpio-switches
 +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/01_gpio-switches
 @@ -0,0 +1,25 @@
 @@ -0,0 +1,25 @@

+ 1 - 1
patches/openwrt/0015-ar71xx-assign-proper-GPIO-pin-for-Ubiquiti-Nanostation-models.patch

@@ -14,7 +14,7 @@ Signed-off-by: Lars Kruse <lists@sumpfralle.de>
 Backport of r46922
 Backport of r46922
 
 
 diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/01_gpio-switches b/target/linux/ar71xx/base-files/etc/uci-defaults/01_gpio-switches
 diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/01_gpio-switches b/target/linux/ar71xx/base-files/etc/uci-defaults/01_gpio-switches
-index 81d3982..b41f275 100644
+index 81d3982ed8bf98e01ce2e161017f088a1d0f60dc..b41f27554b1e3eac19c22af59731771631a1135b 100644
 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/01_gpio-switches
 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/01_gpio-switches
 +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/01_gpio-switches
 +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/01_gpio-switches
 @@ -10,10 +10,10 @@ board=$(ar71xx_board_name)
 @@ -10,10 +10,10 @@ board=$(ar71xx_board_name)

+ 4 - 4
patches/openwrt/0016-netifd-update-to-latest-version.patch

@@ -3,7 +3,7 @@ Date: Fri, 29 Jul 2016 21:28:24 +0200
 Subject: netifd: update to latest version
 Subject: netifd: update to latest version
 
 
 diff --git a/package/network/config/netifd/Makefile b/package/network/config/netifd/Makefile
 diff --git a/package/network/config/netifd/Makefile b/package/network/config/netifd/Makefile
-index 619024b..dc83ca6 100644
+index 619024bd708541dfb3bda28a963fc87a5d301a0d..dc83ca612bcd4c441e8fa0db77c98c8a1b97ad13 100644
 --- a/package/network/config/netifd/Makefile
 --- a/package/network/config/netifd/Makefile
 +++ b/package/network/config/netifd/Makefile
 +++ b/package/network/config/netifd/Makefile
 @@ -1,15 +1,15 @@
 @@ -1,15 +1,15 @@
@@ -26,7 +26,7 @@ index 619024b..dc83ca6 100644
  # CMAKE_INSTALL:=1
  # CMAKE_INSTALL:=1
  
  
 diff --git a/package/network/config/netifd/files/etc/init.d/network b/package/network/config/netifd/files/etc/init.d/network
 diff --git a/package/network/config/netifd/files/etc/init.d/network b/package/network/config/netifd/files/etc/init.d/network
-index 542fc08..bdadbbc 100755
+index 542fc08958e001c2bfce7668ecd7d1c52a649e4e..bdadbbce6db6f9383a0e2c7fab25e7f5d8823091 100755
 --- a/package/network/config/netifd/files/etc/init.d/network
 --- a/package/network/config/netifd/files/etc/init.d/network
 +++ b/package/network/config/netifd/files/etc/init.d/network
 +++ b/package/network/config/netifd/files/etc/init.d/network
 @@ -21,7 +21,6 @@ start_service() {
 @@ -21,7 +21,6 @@ start_service() {
@@ -38,7 +38,7 @@ index 542fc08..bdadbbc 100755
  	procd_close_instance
  	procd_close_instance
  }
  }
 diff --git a/package/network/config/netifd/files/lib/netifd/proto/dhcp.sh b/package/network/config/netifd/files/lib/netifd/proto/dhcp.sh
 diff --git a/package/network/config/netifd/files/lib/netifd/proto/dhcp.sh b/package/network/config/netifd/files/lib/netifd/proto/dhcp.sh
-index 0e88af9..1d3a209 100755
+index 0e88af9e96ad85e7c51ff0b497ce71342d2d1568..1d3a2091060aac6b89d8d10f915b11b251011a85 100755
 --- a/package/network/config/netifd/files/lib/netifd/proto/dhcp.sh
 --- a/package/network/config/netifd/files/lib/netifd/proto/dhcp.sh
 +++ b/package/network/config/netifd/files/lib/netifd/proto/dhcp.sh
 +++ b/package/network/config/netifd/files/lib/netifd/proto/dhcp.sh
 @@ -12,6 +12,7 @@ proto_dhcp_init_config() {
 @@ -12,6 +12,7 @@ proto_dhcp_init_config() {
@@ -82,7 +82,7 @@ index 0e88af9..1d3a209 100755
  
  
  proto_dhcp_renew() {
  proto_dhcp_renew() {
 diff --git a/package/network/config/netifd/files/sbin/ifup b/package/network/config/netifd/files/sbin/ifup
 diff --git a/package/network/config/netifd/files/sbin/ifup b/package/network/config/netifd/files/sbin/ifup
-index af3aaa8..5515b91 100755
+index af3aaa8453ce93f52c2b89e743f43f9c509ad696..5515b91f76df2b5c36d46ac4b86dfc9bdcd78b1d 100755
 --- a/package/network/config/netifd/files/sbin/ifup
 --- a/package/network/config/netifd/files/sbin/ifup
 +++ b/package/network/config/netifd/files/sbin/ifup
 +++ b/package/network/config/netifd/files/sbin/ifup
 @@ -67,12 +67,10 @@ if [ -n "$setup_wifi" ] && grep -sq config /etc/config/wireless; then
 @@ -67,12 +67,10 @@ if [ -n "$setup_wifi" ] && grep -sq config /etc/config/wireless; then

+ 1 - 1
patches/openwrt/0017-x86-fix-platform_export_bootpart-for-Xen-virtual-disks.patch

@@ -11,7 +11,7 @@ Signed-off-by: Alexander Dahl <alex@netz39.de>
 Suggested-by: Matthias Schiffer <mschiffer@universe-factory.net>
 Suggested-by: Matthias Schiffer <mschiffer@universe-factory.net>
 
 
 diff --git a/target/linux/x86/base-files/lib/upgrade/platform.sh b/target/linux/x86/base-files/lib/upgrade/platform.sh
 diff --git a/target/linux/x86/base-files/lib/upgrade/platform.sh b/target/linux/x86/base-files/lib/upgrade/platform.sh
-index 73ab5ef..adc119c 100644
+index 73ab5ef0794c942495d18865fa2c2498b84e63e6..adc119c897ed840aef17c2041a48244d0922564e 100644
 --- a/target/linux/x86/base-files/lib/upgrade/platform.sh
 --- a/target/linux/x86/base-files/lib/upgrade/platform.sh
 +++ b/target/linux/x86/base-files/lib/upgrade/platform.sh
 +++ b/target/linux/x86/base-files/lib/upgrade/platform.sh
 @@ -17,7 +17,7 @@ platform_export_bootpart() {
 @@ -17,7 +17,7 @@ platform_export_bootpart() {

+ 1 - 1
patches/openwrt/0018-Support-LibreSSL-as-provider-of-openssl.patch

@@ -13,7 +13,7 @@ Signed-off-by: Marek Behun <kabel@blackhole.sk>
 Backport of r48267
 Backport of r48267
 
 
 diff --git a/include/prereq-build.mk b/include/prereq-build.mk
 diff --git a/include/prereq-build.mk b/include/prereq-build.mk
-index 32c4ada..f36d57c 100644
+index 32c4adabb748c4026d507d40769b3201e2ac5599..f36d57ce06c46be7ac33f3034ad08a3ce603089d 100644
 --- a/include/prereq-build.mk
 --- a/include/prereq-build.mk
 +++ b/include/prereq-build.mk
 +++ b/include/prereq-build.mk
 @@ -151,7 +151,7 @@ $(eval $(call SetupHostCommand,file,Please install the 'file' package, \
 @@ -151,7 +151,7 @@ $(eval $(call SetupHostCommand,file,Please install the 'file' package, \

+ 1 - 1
patches/openwrt/0019-ar71xx-check-both-HWID-and-HWREV-on-upgrades-of-TP-LINK-devices.patch

@@ -10,7 +10,7 @@ Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
 Backport of r49105
 Backport of r49105
 
 
 diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
 diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
-index 762cd76..024e493 100755
+index 762cd760ceb9ff3917903dfd26a5a7a42175abfe..024e4930949c927efd36c3ac67cd351dcaa4bf7b 100755
 --- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
 --- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
 +++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
 +++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
 @@ -66,6 +66,10 @@ tplink_get_image_hwid() {
 @@ -66,6 +66,10 @@ tplink_get_image_hwid() {

+ 1 - 1
patches/openwrt/0020-ar71xx-avoid-AR71XX_MODEL-ending-with-a-space-on-some-TP-LINK-like-devices.patch

@@ -11,7 +11,7 @@ Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
 Backport of r49106
 Backport of r49106
 
 
 diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
 diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
-index 0aa1c86..96a37b4 100755
+index 0aa1c865cbdeb0624147d4117d289a640d20a5ef..96a37b4bec019d06c9283afc44b7961d150c05fb 100755
 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
 +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
 +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
 @@ -133,7 +133,7 @@ tplink_board_detect() {
 @@ -133,7 +133,7 @@ tplink_board_detect() {

+ 1 - 1
patches/openwrt/0021-ar71xx-fix-the-revision-of-a-few-TP-LINK-devices-in-AR71XX_MODEL-to-match-labels-image-names.patch

@@ -12,7 +12,7 @@ Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
 Backport of r49107
 Backport of r49107
 
 
 diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
 diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
-index 96a37b4..6c10617 100755
+index 96a37b4bec019d06c9283afc44b7961d150c05fb..6c106179bfa0c01308a03678aef1b7cf4caaf05b 100755
 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
 +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
 +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
 @@ -162,6 +162,10 @@ tplink_board_detect() {
 @@ -162,6 +162,10 @@ tplink_board_detect() {

+ 1 - 1
patches/openwrt/0022-ar71xx-build-image-for-TL-WR710N-v2.1.patch

@@ -11,7 +11,7 @@ Signed off by: Norbert Wegener <nw@wegener-net.de>
 Backport of r47849
 Backport of r47849
 
 
 diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile
 diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile
-index a8073f2..0783381 100644
+index a8073f2ecadce8404dde77278302202fe494cd75..0783381baeddef2064df8faff89c49c2bed6a28b 100644
 --- a/target/linux/ar71xx/image/Makefile
 --- a/target/linux/ar71xx/image/Makefile
 +++ b/target/linux/ar71xx/image/Makefile
 +++ b/target/linux/ar71xx/image/Makefile
 @@ -476,6 +476,15 @@ define Device/tl-wr710n-v2
 @@ -476,6 +476,15 @@ define Device/tl-wr710n-v2

+ 2 - 2
patches/openwrt/0023-xtables-addons-build-fix-configure-compatiblity-with-POSIX-shells.patch

@@ -4,7 +4,7 @@ Subject: xtables-addons: build: fix configure compatiblity with POSIX shells
 
 
 diff --git a/package/network/utils/xtables-addons/patches/001-build-fix-configure-compatiblity-with-POSIX-shells.patch b/package/network/utils/xtables-addons/patches/001-build-fix-configure-compatiblity-with-POSIX-shells.patch
 diff --git a/package/network/utils/xtables-addons/patches/001-build-fix-configure-compatiblity-with-POSIX-shells.patch b/package/network/utils/xtables-addons/patches/001-build-fix-configure-compatiblity-with-POSIX-shells.patch
 new file mode 100644
 new file mode 100644
-index 0000000..e0b11b5
+index 0000000000000000000000000000000000000000..e0b11b5459e5e4cd49c80b76ed945eb96aa96e8d
 --- /dev/null
 --- /dev/null
 +++ b/package/network/utils/xtables-addons/patches/001-build-fix-configure-compatiblity-with-POSIX-shells.patch
 +++ b/package/network/utils/xtables-addons/patches/001-build-fix-configure-compatiblity-with-POSIX-shells.patch
 @@ -0,0 +1,51 @@
 @@ -0,0 +1,51 @@
@@ -60,7 +60,7 @@ index 0000000..e0b11b5
 +2.8.0
 +2.8.0
 +
 +
 diff --git a/package/network/utils/xtables-addons/patches/002-fix-kernel-version-detection.patch b/package/network/utils/xtables-addons/patches/002-fix-kernel-version-detection.patch
 diff --git a/package/network/utils/xtables-addons/patches/002-fix-kernel-version-detection.patch b/package/network/utils/xtables-addons/patches/002-fix-kernel-version-detection.patch
-index d3b7caa..6a7a099 100644
+index d3b7caa634ba0cc33b01bbf795f1f70995cb3dc6..6a7a099fcc3aad162fc2aaba70dac54882c2b464 100644
 --- a/package/network/utils/xtables-addons/patches/002-fix-kernel-version-detection.patch
 --- a/package/network/utils/xtables-addons/patches/002-fix-kernel-version-detection.patch
 +++ b/package/network/utils/xtables-addons/patches/002-fix-kernel-version-detection.patch
 +++ b/package/network/utils/xtables-addons/patches/002-fix-kernel-version-detection.patch
 @@ -1,1954 +1,11 @@
 @@ -1,1954 +1,11 @@

+ 3 - 3
patches/openwrt/0024-tools-add-tar-host-build-required-for-sort-name-which-was-only-added-in-the-latest-version.patch

@@ -7,7 +7,7 @@ Signed-off-by: Felix Fietkau <nbd@openwrt.org>
 Backport of r46876
 Backport of r46876
 
 
 diff --git a/tools/Makefile b/tools/Makefile
 diff --git a/tools/Makefile b/tools/Makefile
-index c6cded8..98ce8c5 100644
+index c6cded8eccd81c422f99e7ee50754c4bc66decc7..98ce8c5f1577981136b277a800a3edd5edd4941e 100644
 --- a/tools/Makefile
 --- a/tools/Makefile
 +++ b/tools/Makefile
 +++ b/tools/Makefile
 @@ -81,6 +81,9 @@ endif
 @@ -81,6 +81,9 @@ endif
@@ -22,7 +22,7 @@ index c6cded8..98ce8c5 100644
  
  
 diff --git a/tools/tar/Makefile b/tools/tar/Makefile
 diff --git a/tools/tar/Makefile b/tools/tar/Makefile
 new file mode 100644
 new file mode 100644
-index 0000000..975e783
+index 0000000000000000000000000000000000000000..975e7835ef09131326ef10a7951c3866d6050801
 --- /dev/null
 --- /dev/null
 +++ b/tools/tar/Makefile
 +++ b/tools/tar/Makefile
 @@ -0,0 +1,30 @@
 @@ -0,0 +1,30 @@
@@ -58,7 +58,7 @@ index 0000000..975e783
 +$(eval $(call HostBuild))
 +$(eval $(call HostBuild))
 diff --git a/tools/tar/patches/100-fix_xattr_disable.patch b/tools/tar/patches/100-fix_xattr_disable.patch
 diff --git a/tools/tar/patches/100-fix_xattr_disable.patch b/tools/tar/patches/100-fix_xattr_disable.patch
 new file mode 100644
 new file mode 100644
-index 0000000..5735bd2
+index 0000000000000000000000000000000000000000..5735bd2364a4f324b54a3a49826921ead905d06f
 --- /dev/null
 --- /dev/null
 +++ b/tools/tar/patches/100-fix_xattr_disable.patch
 +++ b/tools/tar/patches/100-fix_xattr_disable.patch
 @@ -0,0 +1,17 @@
 @@ -0,0 +1,17 @@

+ 1 - 1
patches/openwrt/0025-tools-compile-flock-before-everything-else.patch

@@ -7,7 +7,7 @@ Signed-off-by: Felix Fietkau <nbd@openwrt.org>
 Backport of r48413
 Backport of r48413
 
 
 diff --git a/tools/Makefile b/tools/Makefile
 diff --git a/tools/Makefile b/tools/Makefile
-index 98ce8c5..3402c08 100644
+index 98ce8c5f1577981136b277a800a3edd5edd4941e..3402c08d5c6729a510446a3e9cf586f2d8e15be4 100644
 --- a/tools/Makefile
 --- a/tools/Makefile
 +++ b/tools/Makefile
 +++ b/tools/Makefile
 @@ -26,7 +26,7 @@ endif
 @@ -26,7 +26,7 @@ endif

+ 1 - 1
patches/openwrt/0026-rules.mk-make-the-locked-template-available-even-if-flock-has-not-been-built-yet-fall-back-to-unlocked-shell-command.patch

@@ -7,7 +7,7 @@ Signed-off-by: Felix Fietkau <nbd@openwrt.org>
 Backport of r48414
 Backport of r48414
 
 
 diff --git a/rules.mk b/rules.mk
 diff --git a/rules.mk b/rules.mk
-index 9d0134d..ece5026 100644
+index 9d0134d2b26a52b74d30546cc3d51f7e71d1bc75..ece502609bd08af21be782a706f0bf6599895568 100644
 --- a/rules.mk
 --- a/rules.mk
 +++ b/rules.mk
 +++ b/rules.mk
 @@ -310,12 +310,16 @@ endef
 @@ -310,12 +310,16 @@ endef

+ 1 - 1
patches/openwrt/0027-build-add-locking-for-downloads-fixes-race-conditions-with-multiple-variants.patch

@@ -7,7 +7,7 @@ Signed-off-by: Felix Fietkau <nbd@openwrt.org>
 Backport of r48416
 Backport of r48416
 
 
 diff --git a/include/download.mk b/include/download.mk
 diff --git a/include/download.mk b/include/download.mk
-index e518cce..9176b11 100644
+index e518cce4b2793152b7f4ef92509f2be07fb5cd62..9176b11c836123a37533c3d6cbaa2650a4f7c73d 100644
 --- a/include/download.mk
 --- a/include/download.mk
 +++ b/include/download.mk
 +++ b/include/download.mk
 @@ -182,6 +182,6 @@ define Download
 @@ -182,6 +182,6 @@ define Download

+ 1 - 1
patches/openwrt/0028-download.mk-fix-packed-checkout-mirroring-support.patch

@@ -12,7 +12,7 @@ Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
 Backport of r48733
 Backport of r48733
 
 
 diff --git a/include/download.mk b/include/download.mk
 diff --git a/include/download.mk b/include/download.mk
-index 9176b11..130bbc5 100644
+index 9176b11c836123a37533c3d6cbaa2650a4f7c73d..130bbc57ba89b4ad0b8e8600f45bf553ad6ecfa1 100644
 --- a/include/download.mk
 --- a/include/download.mk
 +++ b/include/download.mk
 +++ b/include/download.mk
 @@ -48,7 +48,7 @@ define DownloadMethod/default
 @@ -48,7 +48,7 @@ define DownloadMethod/default

+ 16 - 16
patches/openwrt/0029-kernel-backport-spi-nor-driver-from-4.4.9.patch

@@ -3,7 +3,7 @@ Date: Sat, 7 May 2016 00:07:51 +0200
 Subject: kernel: backport spi-nor driver from 4.4.9
 Subject: kernel: backport spi-nor driver from 4.4.9
 
 
 diff --git a/target/linux/ar71xx/patches-3.18/407-mtd-m25p80-allow-to-pass-probe-types-via-platform-data.patch b/target/linux/ar71xx/patches-3.18/407-mtd-m25p80-allow-to-pass-probe-types-via-platform-data.patch
 diff --git a/target/linux/ar71xx/patches-3.18/407-mtd-m25p80-allow-to-pass-probe-types-via-platform-data.patch b/target/linux/ar71xx/patches-3.18/407-mtd-m25p80-allow-to-pass-probe-types-via-platform-data.patch
-index 568f516..6a91320 100644
+index 568f5161b1e4639c005577ea46c2e0411f95ec7c..6a9132032ff1cefae213464d3212ef0d4e4b8011 100644
 --- a/target/linux/ar71xx/patches-3.18/407-mtd-m25p80-allow-to-pass-probe-types-via-platform-data.patch
 --- a/target/linux/ar71xx/patches-3.18/407-mtd-m25p80-allow-to-pass-probe-types-via-platform-data.patch
 +++ b/target/linux/ar71xx/patches-3.18/407-mtd-m25p80-allow-to-pass-probe-types-via-platform-data.patch
 +++ b/target/linux/ar71xx/patches-3.18/407-mtd-m25p80-allow-to-pass-probe-types-via-platform-data.patch
 @@ -1,11 +1,11 @@
 @@ -1,11 +1,11 @@
@@ -22,7 +22,7 @@ index 568f516..6a91320 100644
  +			&ppdata,
  +			&ppdata,
   			data ? data->parts : NULL,
   			data ? data->parts : NULL,
 diff --git a/target/linux/ar71xx/patches-3.18/412-mtd-m25p80-zero-partition-parser-data.patch b/target/linux/ar71xx/patches-3.18/412-mtd-m25p80-zero-partition-parser-data.patch
 diff --git a/target/linux/ar71xx/patches-3.18/412-mtd-m25p80-zero-partition-parser-data.patch b/target/linux/ar71xx/patches-3.18/412-mtd-m25p80-zero-partition-parser-data.patch
-index d51694d..175acf6 100644
+index d51694d9fd2d6fa5a519ce27108c964b1b6f32f8..175acf630e0d0437936066b51ea086cf39740b30 100644
 --- a/target/linux/ar71xx/patches-3.18/412-mtd-m25p80-zero-partition-parser-data.patch
 --- a/target/linux/ar71xx/patches-3.18/412-mtd-m25p80-zero-partition-parser-data.patch
 +++ b/target/linux/ar71xx/patches-3.18/412-mtd-m25p80-zero-partition-parser-data.patch
 +++ b/target/linux/ar71xx/patches-3.18/412-mtd-m25p80-zero-partition-parser-data.patch
 @@ -1,10 +1,10 @@
 @@ -1,10 +1,10 @@
@@ -39,7 +39,7 @@ index d51694d..175acf6 100644
 - 	return mtd_device_parse_register(&flash->mtd,
 - 	return mtd_device_parse_register(&flash->mtd,
 + 	return mtd_device_parse_register(&nor->mtd,
 + 	return mtd_device_parse_register(&nor->mtd,
 diff --git a/target/linux/ar71xx/patches-3.18/462-mtd-m25p80-set-spi-transfer-type.patch b/target/linux/ar71xx/patches-3.18/462-mtd-m25p80-set-spi-transfer-type.patch
 diff --git a/target/linux/ar71xx/patches-3.18/462-mtd-m25p80-set-spi-transfer-type.patch b/target/linux/ar71xx/patches-3.18/462-mtd-m25p80-set-spi-transfer-type.patch
-index 3320e5b..11bf9ff 100644
+index 3320e5b845bdf2843f32e52b5b620ce880fd4e96..11bf9ff71b609b03239179bcd8977c2202f5c8cf 100644
 --- a/target/linux/ar71xx/patches-3.18/462-mtd-m25p80-set-spi-transfer-type.patch
 --- a/target/linux/ar71xx/patches-3.18/462-mtd-m25p80-set-spi-transfer-type.patch
 +++ b/target/linux/ar71xx/patches-3.18/462-mtd-m25p80-set-spi-transfer-type.patch
 +++ b/target/linux/ar71xx/patches-3.18/462-mtd-m25p80-set-spi-transfer-type.patch
 @@ -1,6 +1,6 @@
 @@ -1,6 +1,6 @@
@@ -51,7 +51,7 @@ index 3320e5b..11bf9ff 100644
   	m25p_addr2cmd(nor, from, flash->command);
   	m25p_addr2cmd(nor, from, flash->command);
   
   
 diff --git a/target/linux/ar71xx/patches-3.18/464-spi-ath79-fix-fast-flash-read.patch b/target/linux/ar71xx/patches-3.18/464-spi-ath79-fix-fast-flash-read.patch
 diff --git a/target/linux/ar71xx/patches-3.18/464-spi-ath79-fix-fast-flash-read.patch b/target/linux/ar71xx/patches-3.18/464-spi-ath79-fix-fast-flash-read.patch
-index e48665d..758d231 100644
+index e48665d6a09fdcc77d027274016c24fe78e8d95a..758d23181d49eff6afeb35b1fbbd8f36efa2cfca 100644
 --- a/target/linux/ar71xx/patches-3.18/464-spi-ath79-fix-fast-flash-read.patch
 --- a/target/linux/ar71xx/patches-3.18/464-spi-ath79-fix-fast-flash-read.patch
 +++ b/target/linux/ar71xx/patches-3.18/464-spi-ath79-fix-fast-flash-read.patch
 +++ b/target/linux/ar71xx/patches-3.18/464-spi-ath79-fix-fast-flash-read.patch
 @@ -1,6 +1,6 @@
 @@ -1,6 +1,6 @@
@@ -72,7 +72,7 @@ index e48665d..758d231 100644
   	u32		speed_hz;
   	u32		speed_hz;
   	enum spi_transfer_type type;
   	enum spi_transfer_type type;
 diff --git a/target/linux/brcm63xx/patches-3.18/202-MTD-DEVICES-m25p80-use-parsers-if-provided-in-flash-.patch b/target/linux/brcm63xx/patches-3.18/202-MTD-DEVICES-m25p80-use-parsers-if-provided-in-flash-.patch
 diff --git a/target/linux/brcm63xx/patches-3.18/202-MTD-DEVICES-m25p80-use-parsers-if-provided-in-flash-.patch b/target/linux/brcm63xx/patches-3.18/202-MTD-DEVICES-m25p80-use-parsers-if-provided-in-flash-.patch
-index b949694..be62e67 100644
+index b94969406deed4d6b8d51789235cd3e63e432c7c..be62e6789c883a5854a7bc9fae6dcc882090800f 100644
 --- a/target/linux/brcm63xx/patches-3.18/202-MTD-DEVICES-m25p80-use-parsers-if-provided-in-flash-.patch
 --- a/target/linux/brcm63xx/patches-3.18/202-MTD-DEVICES-m25p80-use-parsers-if-provided-in-flash-.patch
 +++ b/target/linux/brcm63xx/patches-3.18/202-MTD-DEVICES-m25p80-use-parsers-if-provided-in-flash-.patch
 +++ b/target/linux/brcm63xx/patches-3.18/202-MTD-DEVICES-m25p80-use-parsers-if-provided-in-flash-.patch
 @@ -11,12 +11,12 @@ Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
 @@ -11,12 +11,12 @@ Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
@@ -92,7 +92,7 @@ index b949694..be62e67 100644
   			data ? data->parts : NULL,
   			data ? data->parts : NULL,
   			data ? data->nr_parts : 0);
   			data ? data->nr_parts : 0);
 diff --git a/target/linux/brcm63xx/patches-3.18/203-MTD-DEVICES-m25p80-add-support-for-limiting-reads.patch b/target/linux/brcm63xx/patches-3.18/203-MTD-DEVICES-m25p80-add-support-for-limiting-reads.patch
 diff --git a/target/linux/brcm63xx/patches-3.18/203-MTD-DEVICES-m25p80-add-support-for-limiting-reads.patch b/target/linux/brcm63xx/patches-3.18/203-MTD-DEVICES-m25p80-add-support-for-limiting-reads.patch
-index 740fb2d..3877442 100644
+index 740fb2dafc4ece9e0c88630a1ad2b800f763ed59..3877442d21eb8f6a9fdacc415c60be78d61b3c5f 100644
 --- a/target/linux/brcm63xx/patches-3.18/203-MTD-DEVICES-m25p80-add-support-for-limiting-reads.patch
 --- a/target/linux/brcm63xx/patches-3.18/203-MTD-DEVICES-m25p80-add-support-for-limiting-reads.patch
 +++ b/target/linux/brcm63xx/patches-3.18/203-MTD-DEVICES-m25p80-add-support-for-limiting-reads.patch
 +++ b/target/linux/brcm63xx/patches-3.18/203-MTD-DEVICES-m25p80-add-support-for-limiting-reads.patch
 @@ -11,15 +11,15 @@ Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
 @@ -11,15 +11,15 @@ Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
@@ -133,7 +133,7 @@ index 740fb2d..3877442 100644
   		flash_name = spi->modalias;
   		flash_name = spi->modalias;
   
   
 diff --git a/target/linux/brcm63xx/patches-3.18/414-MTD-m25p80-allow-passing-pp_data.patch b/target/linux/brcm63xx/patches-3.18/414-MTD-m25p80-allow-passing-pp_data.patch
 diff --git a/target/linux/brcm63xx/patches-3.18/414-MTD-m25p80-allow-passing-pp_data.patch b/target/linux/brcm63xx/patches-3.18/414-MTD-m25p80-allow-passing-pp_data.patch
-index b7bf57f..e421e9a 100644
+index b7bf57f697961a06d1ccef93ce4474f34f5e03e4..e421e9adbefb45fa837f686e253636781842fa7e 100644
 --- a/target/linux/brcm63xx/patches-3.18/414-MTD-m25p80-allow-passing-pp_data.patch
 --- a/target/linux/brcm63xx/patches-3.18/414-MTD-m25p80-allow-passing-pp_data.patch
 +++ b/target/linux/brcm63xx/patches-3.18/414-MTD-m25p80-allow-passing-pp_data.patch
 +++ b/target/linux/brcm63xx/patches-3.18/414-MTD-m25p80-allow-passing-pp_data.patch
 @@ -10,7 +10,7 @@ Subject: [PATCH 64/79] MTD: m25p80: allow passing pp_data
 @@ -10,7 +10,7 @@ Subject: [PATCH 64/79] MTD: m25p80: allow passing pp_data
@@ -147,7 +147,7 @@ index b7bf57f..e421e9a 100644
   
   
 diff --git a/target/linux/generic/patches-3.18/043-mtd_GD25Q128B_support_backport_from_3.19.patch b/target/linux/generic/patches-3.18/043-mtd_GD25Q128B_support_backport_from_3.19.patch
 diff --git a/target/linux/generic/patches-3.18/043-mtd_GD25Q128B_support_backport_from_3.19.patch b/target/linux/generic/patches-3.18/043-mtd_GD25Q128B_support_backport_from_3.19.patch
 deleted file mode 100644
 deleted file mode 100644
-index 4d0403b..0000000
+index 4d0403bfd8a4a076cc9e91349463593adb79047c..0000000000000000000000000000000000000000
 --- a/target/linux/generic/patches-3.18/043-mtd_GD25Q128B_support_backport_from_3.19.patch
 --- a/target/linux/generic/patches-3.18/043-mtd_GD25Q128B_support_backport_from_3.19.patch
 +++ /dev/null
 +++ /dev/null
 @@ -1,10 +0,0 @@
 @@ -1,10 +0,0 @@
@@ -163,7 +163,7 @@ index 4d0403b..0000000
 - 	{ "160s33b",  INFO(0x898911, 0, 64 * 1024,  32, 0) },
 - 	{ "160s33b",  INFO(0x898911, 0, 64 * 1024,  32, 0) },
 diff --git a/target/linux/generic/patches-3.18/093-m25p80_spi-nor_update_to_4.4.9.patch b/target/linux/generic/patches-3.18/093-m25p80_spi-nor_update_to_4.4.9.patch
 diff --git a/target/linux/generic/patches-3.18/093-m25p80_spi-nor_update_to_4.4.9.patch b/target/linux/generic/patches-3.18/093-m25p80_spi-nor_update_to_4.4.9.patch
 new file mode 100644
 new file mode 100644
-index 0000000..5f74d3a
+index 0000000000000000000000000000000000000000..5f74d3a07ba62c9e1da0a0b2aef8abe309efdbb9
 --- /dev/null
 --- /dev/null
 +++ b/target/linux/generic/patches-3.18/093-m25p80_spi-nor_update_to_4.4.9.patch
 +++ b/target/linux/generic/patches-3.18/093-m25p80_spi-nor_update_to_4.4.9.patch
 @@ -0,0 +1,1579 @@
 @@ -0,0 +1,1579 @@
@@ -1747,7 +1747,7 @@ index 0000000..5f74d3a
 + };
 + };
 + 
 + 
 diff --git a/target/linux/generic/patches-3.18/462-m25p80-mx-disable-software-protection.patch b/target/linux/generic/patches-3.18/462-m25p80-mx-disable-software-protection.patch
 diff --git a/target/linux/generic/patches-3.18/462-m25p80-mx-disable-software-protection.patch b/target/linux/generic/patches-3.18/462-m25p80-mx-disable-software-protection.patch
-index fef483a..eb99609 100644
+index fef483a67d0f7c3f25a105f5f1d0faef4dfd1a38..eb99609fe29b136a2283ef347af6b1db97ad4978 100644
 --- a/target/linux/generic/patches-3.18/462-m25p80-mx-disable-software-protection.patch
 --- a/target/linux/generic/patches-3.18/462-m25p80-mx-disable-software-protection.patch
 +++ b/target/linux/generic/patches-3.18/462-m25p80-mx-disable-software-protection.patch
 +++ b/target/linux/generic/patches-3.18/462-m25p80-mx-disable-software-protection.patch
 @@ -1,10 +1,14 @@
 @@ -1,10 +1,14 @@
@@ -1772,7 +1772,7 @@ index fef483a..eb99609 100644
   		write_sr(nor, 0);
   		write_sr(nor, 0);
 diff --git a/target/linux/generic/patches-3.18/472-mtd-m25p80-add-support-for-Winbond-W25X05-flash.patch b/target/linux/generic/patches-3.18/472-mtd-m25p80-add-support-for-Winbond-W25X05-flash.patch
 diff --git a/target/linux/generic/patches-3.18/472-mtd-m25p80-add-support-for-Winbond-W25X05-flash.patch b/target/linux/generic/patches-3.18/472-mtd-m25p80-add-support-for-Winbond-W25X05-flash.patch
 deleted file mode 100644
 deleted file mode 100644
-index dca6895..0000000
+index dca6895c1448a302f829bcfdde4842f0a000061d..0000000000000000000000000000000000000000
 --- a/target/linux/generic/patches-3.18/472-mtd-m25p80-add-support-for-Winbond-W25X05-flash.patch
 --- a/target/linux/generic/patches-3.18/472-mtd-m25p80-add-support-for-Winbond-W25X05-flash.patch
 +++ /dev/null
 +++ /dev/null
 @@ -1,20 +0,0 @@
 @@ -1,20 +0,0 @@
@@ -1798,7 +1798,7 @@ index dca6895..0000000
 - 	{ "w25x40", INFO(0xef3013, 0, 64 * 1024,  8,  SECT_4K) },
 - 	{ "w25x40", INFO(0xef3013, 0, 64 * 1024,  8,  SECT_4K) },
 diff --git a/target/linux/generic/patches-3.18/473-mtd-spi-nor-add-support-for-the-Macronix-MX25L512E-S.patch b/target/linux/generic/patches-3.18/473-mtd-spi-nor-add-support-for-the-Macronix-MX25L512E-S.patch
 diff --git a/target/linux/generic/patches-3.18/473-mtd-spi-nor-add-support-for-the-Macronix-MX25L512E-S.patch b/target/linux/generic/patches-3.18/473-mtd-spi-nor-add-support-for-the-Macronix-MX25L512E-S.patch
 deleted file mode 100644
 deleted file mode 100644
-index 9ba7a4a..0000000
+index 9ba7a4ab2f701440e78da0f9a2e2845f68652267..0000000000000000000000000000000000000000
 --- a/target/linux/generic/patches-3.18/473-mtd-spi-nor-add-support-for-the-Macronix-MX25L512E-S.patch
 --- a/target/linux/generic/patches-3.18/473-mtd-spi-nor-add-support-for-the-Macronix-MX25L512E-S.patch
 +++ /dev/null
 +++ /dev/null
 @@ -1,21 +0,0 @@
 @@ -1,21 +0,0 @@
@@ -1825,7 +1825,7 @@ index 9ba7a4a..0000000
 - 	{ "mx25l8005",   INFO(0xc22014, 0, 64 * 1024,  16, 0) },
 - 	{ "mx25l8005",   INFO(0xc22014, 0, 64 * 1024,  16, 0) },
 diff --git a/target/linux/generic/patches-3.18/474-mtd-spi-nor-add-support-for-the-ISSI-SI25CD512-SPI-f.patch b/target/linux/generic/patches-3.18/474-mtd-spi-nor-add-support-for-the-ISSI-SI25CD512-SPI-f.patch
 diff --git a/target/linux/generic/patches-3.18/474-mtd-spi-nor-add-support-for-the-ISSI-SI25CD512-SPI-f.patch b/target/linux/generic/patches-3.18/474-mtd-spi-nor-add-support-for-the-ISSI-SI25CD512-SPI-f.patch
 deleted file mode 100644
 deleted file mode 100644
-index b06ac73..0000000
+index b06ac73fae3fac808067b8643ac939adc56d35cb..0000000000000000000000000000000000000000
 --- a/target/linux/generic/patches-3.18/474-mtd-spi-nor-add-support-for-the-ISSI-SI25CD512-SPI-f.patch
 --- a/target/linux/generic/patches-3.18/474-mtd-spi-nor-add-support-for-the-ISSI-SI25CD512-SPI-f.patch
 +++ /dev/null
 +++ /dev/null
 @@ -1,22 +0,0 @@
 @@ -1,22 +0,0 @@
@@ -1853,7 +1853,7 @@ index b06ac73..0000000
 - 	{ "mx25l2005a",  INFO(0xc22012, 0, 64 * 1024,   4, SECT_4K) },
 - 	{ "mx25l2005a",  INFO(0xc22012, 0, 64 * 1024,   4, SECT_4K) },
 diff --git a/target/linux/lantiq/patches-3.18/0022-MTD-m25p80-allow-loading-mtd-name-from-OF.patch b/target/linux/lantiq/patches-3.18/0022-MTD-m25p80-allow-loading-mtd-name-from-OF.patch
 diff --git a/target/linux/lantiq/patches-3.18/0022-MTD-m25p80-allow-loading-mtd-name-from-OF.patch b/target/linux/lantiq/patches-3.18/0022-MTD-m25p80-allow-loading-mtd-name-from-OF.patch
 deleted file mode 100644
 deleted file mode 100644
-index 203eb94..0000000
+index 203eb9495efe583abc1e7adc21f9c6d0e61e4e29..0000000000000000000000000000000000000000
 --- a/target/linux/lantiq/patches-3.18/0022-MTD-m25p80-allow-loading-mtd-name-from-OF.patch
 --- a/target/linux/lantiq/patches-3.18/0022-MTD-m25p80-allow-loading-mtd-name-from-OF.patch
 +++ /dev/null
 +++ /dev/null
 @@ -1,44 +0,0 @@
 @@ -1,44 +0,0 @@
@@ -1902,7 +1902,7 @@ index 203eb94..0000000
 - 	/* For some (historical?) reason many platforms provide two different
 - 	/* For some (historical?) reason many platforms provide two different
 - 	 * names in flash_platform_data: "name" and "type". Quite often name is
 - 	 * names in flash_platform_data: "name" and "type". Quite often name is
 diff --git a/target/linux/mpc85xx/files/arch/powerpc/boot/dts/tl-wdr4900-v1.dts b/target/linux/mpc85xx/files/arch/powerpc/boot/dts/tl-wdr4900-v1.dts
 diff --git a/target/linux/mpc85xx/files/arch/powerpc/boot/dts/tl-wdr4900-v1.dts b/target/linux/mpc85xx/files/arch/powerpc/boot/dts/tl-wdr4900-v1.dts
-index 2beb39c..21f823d 100644
+index 2beb39cf1f2b22d99207b2298bd550a71c8d7666..21f823d57ca1b7b072e060dd0460ffd4b251ec77 100644
 --- a/target/linux/mpc85xx/files/arch/powerpc/boot/dts/tl-wdr4900-v1.dts
 --- a/target/linux/mpc85xx/files/arch/powerpc/boot/dts/tl-wdr4900-v1.dts
 +++ b/target/linux/mpc85xx/files/arch/powerpc/boot/dts/tl-wdr4900-v1.dts
 +++ b/target/linux/mpc85xx/files/arch/powerpc/boot/dts/tl-wdr4900-v1.dts
 @@ -37,7 +37,7 @@
 @@ -37,7 +37,7 @@
@@ -1915,7 +1915,7 @@ index 2beb39c..21f823d 100644
  				spi-max-frequency = <25000000>;
  				spi-max-frequency = <25000000>;
  
  
 diff --git a/target/linux/ramips/patches-3.18/0044-mtd-add-chunked-read-io-to-m25p80.patch b/target/linux/ramips/patches-3.18/0044-mtd-add-chunked-read-io-to-m25p80.patch
 diff --git a/target/linux/ramips/patches-3.18/0044-mtd-add-chunked-read-io-to-m25p80.patch b/target/linux/ramips/patches-3.18/0044-mtd-add-chunked-read-io-to-m25p80.patch
-index 1716e1c..8dc181a 100644
+index 1716e1cc499ede404c509a40370ff6fdeec0f1dc..8dc181afb84e4932b73b4a7a45daadb0da78ca20 100644
 --- a/target/linux/ramips/patches-3.18/0044-mtd-add-chunked-read-io-to-m25p80.patch
 --- a/target/linux/ramips/patches-3.18/0044-mtd-add-chunked-read-io-to-m25p80.patch
 +++ b/target/linux/ramips/patches-3.18/0044-mtd-add-chunked-read-io-to-m25p80.patch
 +++ b/target/linux/ramips/patches-3.18/0044-mtd-add-chunked-read-io-to-m25p80.patch
 @@ -1,33 +1,18 @@
 @@ -1,33 +1,18 @@

+ 2 - 2
patches/openwrt/0030-kernel-mtd-spi-nor-wait-until-status-register-writes-are-ready.patch

@@ -4,7 +4,7 @@ Subject: kernel: mtd: spi-nor: wait until status register writes are ready
 
 
 diff --git a/target/linux/generic/patches-3.18/094-0001-mtd-spi-nor-wait-until-lock-unlock-operations-are-re.patch b/target/linux/generic/patches-3.18/094-0001-mtd-spi-nor-wait-until-lock-unlock-operations-are-re.patch
 diff --git a/target/linux/generic/patches-3.18/094-0001-mtd-spi-nor-wait-until-lock-unlock-operations-are-re.patch b/target/linux/generic/patches-3.18/094-0001-mtd-spi-nor-wait-until-lock-unlock-operations-are-re.patch
 new file mode 100644
 new file mode 100644
-index 0000000..2c2e5f3
+index 0000000000000000000000000000000000000000..2c2e5f32259416f0cc7f342e420ffbd32c139d97
 --- /dev/null
 --- /dev/null
 +++ b/target/linux/generic/patches-3.18/094-0001-mtd-spi-nor-wait-until-lock-unlock-operations-are-re.patch
 +++ b/target/linux/generic/patches-3.18/094-0001-mtd-spi-nor-wait-until-lock-unlock-operations-are-re.patch
 @@ -0,0 +1,66 @@
 @@ -0,0 +1,66 @@
@@ -76,7 +76,7 @@ index 0000000..2c2e5f3
 + /*
 + /*
 diff --git a/target/linux/generic/patches-3.18/094-0002-mtd-spi-nor-wait-for-SR_WIP-to-clear-on-initial-unlo.patch b/target/linux/generic/patches-3.18/094-0002-mtd-spi-nor-wait-for-SR_WIP-to-clear-on-initial-unlo.patch
 diff --git a/target/linux/generic/patches-3.18/094-0002-mtd-spi-nor-wait-for-SR_WIP-to-clear-on-initial-unlo.patch b/target/linux/generic/patches-3.18/094-0002-mtd-spi-nor-wait-for-SR_WIP-to-clear-on-initial-unlo.patch
 new file mode 100644
 new file mode 100644
-index 0000000..a0573d5
+index 0000000000000000000000000000000000000000..a0573d5aea939c965cb44b2e72a2b7d498b0a5cd
 --- /dev/null
 --- /dev/null
 +++ b/target/linux/generic/patches-3.18/094-0002-mtd-spi-nor-wait-for-SR_WIP-to-clear-on-initial-unlo.patch
 +++ b/target/linux/generic/patches-3.18/094-0002-mtd-spi-nor-wait-for-SR_WIP-to-clear-on-initial-unlo.patch
 @@ -0,0 +1,33 @@
 @@ -0,0 +1,33 @@

+ 1 - 1
patches/openwrt/0031-kernel-mtd-spi-nor-unlock-Winbond-flashs.patch

@@ -4,7 +4,7 @@ Subject: kernel: mtd: spi-nor: unlock Winbond flashs
 
 
 diff --git a/target/linux/generic/patches-3.18/463-Revert-mtd-spi-nor-fix-Spansion-regressions-aliased-.patch b/target/linux/generic/patches-3.18/463-Revert-mtd-spi-nor-fix-Spansion-regressions-aliased-.patch
 diff --git a/target/linux/generic/patches-3.18/463-Revert-mtd-spi-nor-fix-Spansion-regressions-aliased-.patch b/target/linux/generic/patches-3.18/463-Revert-mtd-spi-nor-fix-Spansion-regressions-aliased-.patch
 new file mode 100644
 new file mode 100644
-index 0000000..4682b7a
+index 0000000000000000000000000000000000000000..4682b7a77b160a0814012d26f0edf1a7bfaf5312
 --- /dev/null
 --- /dev/null
 +++ b/target/linux/generic/patches-3.18/463-Revert-mtd-spi-nor-fix-Spansion-regressions-aliased-.patch
 +++ b/target/linux/generic/patches-3.18/463-Revert-mtd-spi-nor-fix-Spansion-regressions-aliased-.patch
 @@ -0,0 +1,46 @@
 @@ -0,0 +1,46 @@

+ 1 - 1
patches/openwrt/0032-ath79-dev-eth-fix-QCA9561-set-phy-interface-mode-and-mask.patch

@@ -11,7 +11,7 @@ Signed-off-by: Miaoqing Pan <miaoqing@codeaurora.org>
 Backport of OpenWrt r46971
 Backport of OpenWrt r46971
 
 
 diff --git a/target/linux/ar71xx/files/arch/mips/ath79/dev-eth.c b/target/linux/ar71xx/files/arch/mips/ath79/dev-eth.c
 diff --git a/target/linux/ar71xx/files/arch/mips/ath79/dev-eth.c b/target/linux/ar71xx/files/arch/mips/ath79/dev-eth.c
-index ff94e2e..31d2438 100644
+index ff94e2ec3733b9473c4c3191cb47bd4ba8ac784d..31d24388d274b92e01642ad6d7f59d22f80dc2a6 100644
 --- a/target/linux/ar71xx/files/arch/mips/ath79/dev-eth.c
 --- a/target/linux/ar71xx/files/arch/mips/ath79/dev-eth.c
 +++ b/target/linux/ar71xx/files/arch/mips/ath79/dev-eth.c
 +++ b/target/linux/ar71xx/files/arch/mips/ath79/dev-eth.c
 @@ -633,7 +633,6 @@ static int __init ath79_setup_phy_if_mode(unsigned int id,
 @@ -633,7 +633,6 @@ static int __init ath79_setup_phy_if_mode(unsigned int id,

+ 1 - 1
patches/openwrt/0033-ar71xx-use-correct-PLL-configuration-register-bitmask-for-QCA956x-SoC.patch

@@ -10,7 +10,7 @@ Signed-off-by: Felix Fietkau <nbd@openwrt.org>
 Backport of OpenWrt r47363
 Backport of OpenWrt r47363
 
 
 diff --git a/target/linux/ar71xx/patches-3.18/735-MIPS-ath79-add-support-for-QCA956x-SoC.patch b/target/linux/ar71xx/patches-3.18/735-MIPS-ath79-add-support-for-QCA956x-SoC.patch
 diff --git a/target/linux/ar71xx/patches-3.18/735-MIPS-ath79-add-support-for-QCA956x-SoC.patch b/target/linux/ar71xx/patches-3.18/735-MIPS-ath79-add-support-for-QCA956x-SoC.patch
-index 0da8142..2bb4286 100644
+index 0da81426ca7b1b1db46e869745f0ed00496bef78..2bb4286e5d805ff3c47486a1f091d2b5e6d78373 100644
 --- a/target/linux/ar71xx/patches-3.18/735-MIPS-ath79-add-support-for-QCA956x-SoC.patch
 --- a/target/linux/ar71xx/patches-3.18/735-MIPS-ath79-add-support-for-QCA956x-SoC.patch
 +++ b/target/linux/ar71xx/patches-3.18/735-MIPS-ath79-add-support-for-QCA956x-SoC.patch
 +++ b/target/linux/ar71xx/patches-3.18/735-MIPS-ath79-add-support-for-QCA956x-SoC.patch
 @@ -529,7 +529,7 @@
 @@ -529,7 +529,7 @@

+ 2 - 2
patches/openwrt/0034-ar71xx-update-QCA956x-support.patch

@@ -12,7 +12,7 @@ Signed-off-by: Roman Yeryomin <roman@advem.lv>
 Backport of OpenWrt r47981
 Backport of OpenWrt r47981
 
 
 diff --git a/target/linux/ar71xx/patches-3.18/735-MIPS-ath79-add-support-for-QCA956x-SoC.patch b/target/linux/ar71xx/patches-3.18/735-MIPS-ath79-add-support-for-QCA956x-SoC.patch
 diff --git a/target/linux/ar71xx/patches-3.18/735-MIPS-ath79-add-support-for-QCA956x-SoC.patch b/target/linux/ar71xx/patches-3.18/735-MIPS-ath79-add-support-for-QCA956x-SoC.patch
-index 2bb4286..61b8976 100644
+index 2bb4286e5d805ff3c47486a1f091d2b5e6d78373..61b897690a03fd46d2ea95451a09598b272266f9 100644
 --- a/target/linux/ar71xx/patches-3.18/735-MIPS-ath79-add-support-for-QCA956x-SoC.patch
 --- a/target/linux/ar71xx/patches-3.18/735-MIPS-ath79-add-support-for-QCA956x-SoC.patch
 +++ b/target/linux/ar71xx/patches-3.18/735-MIPS-ath79-add-support-for-QCA956x-SoC.patch
 +++ b/target/linux/ar71xx/patches-3.18/735-MIPS-ath79-add-support-for-QCA956x-SoC.patch
 @@ -105,7 +105,7 @@
 @@ -105,7 +105,7 @@
@@ -380,7 +380,7 @@ index 2bb4286..61b8976 100644
  +
  +
   extern void __iomem *ath79_ddr_base;
   extern void __iomem *ath79_ddr_base;
 diff --git a/target/linux/ar71xx/patches-3.18/739-MIPS-ath79-add-gpio-func-register-for-QCA955x-SoC.patch b/target/linux/ar71xx/patches-3.18/739-MIPS-ath79-add-gpio-func-register-for-QCA955x-SoC.patch
 diff --git a/target/linux/ar71xx/patches-3.18/739-MIPS-ath79-add-gpio-func-register-for-QCA955x-SoC.patch b/target/linux/ar71xx/patches-3.18/739-MIPS-ath79-add-gpio-func-register-for-QCA955x-SoC.patch
-index a36b8c3..44c9c62 100644
+index a36b8c319f7d08fe5daab867a10edca4dfcd4706..44c9c6281e683792af37b6f9b32357b2a4ec2fd4 100644
 --- a/target/linux/ar71xx/patches-3.18/739-MIPS-ath79-add-gpio-func-register-for-QCA955x-SoC.patch
 --- a/target/linux/ar71xx/patches-3.18/739-MIPS-ath79-add-gpio-func-register-for-QCA955x-SoC.patch
 +++ b/target/linux/ar71xx/patches-3.18/739-MIPS-ath79-add-gpio-func-register-for-QCA955x-SoC.patch
 +++ b/target/linux/ar71xx/patches-3.18/739-MIPS-ath79-add-gpio-func-register-for-QCA955x-SoC.patch
 @@ -9,8 +9,8 @@
 @@ -9,8 +9,8 @@

+ 1 - 1
patches/openwrt/0035-ar71xx-fold-patch-622-MIPS-ath79-add-support-for-QCA956x-ethernet.patch-into-files.patch

@@ -7,7 +7,7 @@ Signed-off-by: Felix Fietkau <nbd@openwrt.org>
 Backport of OpenWrt r48650
 Backport of OpenWrt r48650
 
 
 diff --git a/target/linux/ar71xx/files/arch/mips/ath79/dev-eth.c b/target/linux/ar71xx/files/arch/mips/ath79/dev-eth.c
 diff --git a/target/linux/ar71xx/files/arch/mips/ath79/dev-eth.c b/target/linux/ar71xx/files/arch/mips/ath79/dev-eth.c
-index 31d2438..2efb9c7 100644
+index 31d24388d274b92e01642ad6d7f59d22f80dc2a6..2efb9c70ff31f5c11bcdff6c6326743e4d5b5a11 100644
 --- a/target/linux/ar71xx/files/arch/mips/ath79/dev-eth.c
 --- a/target/linux/ar71xx/files/arch/mips/ath79/dev-eth.c
 +++ b/target/linux/ar71xx/files/arch/mips/ath79/dev-eth.c
 +++ b/target/linux/ar71xx/files/arch/mips/ath79/dev-eth.c
 @@ -198,7 +198,6 @@ void __init ath79_register_mdio(unsigned int id, u32 phy_mask)
 @@ -198,7 +198,6 @@ void __init ath79_register_mdio(unsigned int id, u32 phy_mask)

+ 1 - 1
patches/openwrt/0036-ar71xx-fix-MDIO-bus-probe-on-QCA956x.patch

@@ -7,7 +7,7 @@ Signed-off-by: Felix Fietkau <nbd@openwrt.org>
 Backport of OpenWrt r48651
 Backport of OpenWrt r48651
 
 
 diff --git a/target/linux/ar71xx/files/arch/mips/ath79/dev-eth.c b/target/linux/ar71xx/files/arch/mips/ath79/dev-eth.c
 diff --git a/target/linux/ar71xx/files/arch/mips/ath79/dev-eth.c b/target/linux/ar71xx/files/arch/mips/ath79/dev-eth.c
-index 2efb9c7..12a376e 100644
+index 2efb9c70ff31f5c11bcdff6c6326743e4d5b5a11..12a376e1322ae14dd714297ed5f8319ae09eeb64 100644
 --- a/target/linux/ar71xx/files/arch/mips/ath79/dev-eth.c
 --- a/target/linux/ar71xx/files/arch/mips/ath79/dev-eth.c
 +++ b/target/linux/ar71xx/files/arch/mips/ath79/dev-eth.c
 +++ b/target/linux/ar71xx/files/arch/mips/ath79/dev-eth.c
 @@ -183,7 +183,8 @@ void __init ath79_register_mdio(unsigned int id, u32 phy_mask)
 @@ -183,7 +183,8 @@ void __init ath79_register_mdio(unsigned int id, u32 phy_mask)

+ 1 - 1
patches/openwrt/0037-ar71xx-fix-qca956x-ethernet-initialization.patch

@@ -10,7 +10,7 @@ Signed-off-by: Weijie Gao <hackpascal@gmail.com>
 Backport of OpenWrt r48937
 Backport of OpenWrt r48937
 
 
 diff --git a/target/linux/ar71xx/files/arch/mips/ath79/dev-eth.c b/target/linux/ar71xx/files/arch/mips/ath79/dev-eth.c
 diff --git a/target/linux/ar71xx/files/arch/mips/ath79/dev-eth.c b/target/linux/ar71xx/files/arch/mips/ath79/dev-eth.c
-index 12a376e..b43c80a 100644
+index 12a376e1322ae14dd714297ed5f8319ae09eeb64..b43c80a3762ddebe46d8443660714922165a2287 100644
 --- a/target/linux/ar71xx/files/arch/mips/ath79/dev-eth.c
 --- a/target/linux/ar71xx/files/arch/mips/ath79/dev-eth.c
 +++ b/target/linux/ar71xx/files/arch/mips/ath79/dev-eth.c
 +++ b/target/linux/ar71xx/files/arch/mips/ath79/dev-eth.c
 @@ -271,6 +271,7 @@ void __init ath79_register_mdio(unsigned int id, u32 phy_mask)
 @@ -271,6 +271,7 @@ void __init ath79_register_mdio(unsigned int id, u32 phy_mask)

+ 11 - 11
patches/openwrt/0038-ar71xx-Support-for-Ubiquiti-UniFi-AP-AC-LITE.patch

@@ -8,7 +8,7 @@ Signed-off-by: P.Wassi <p.wassi at gmx.at>
 Backport of OpenWrt r48711
 Backport of OpenWrt r48711
 
 
 diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
 diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
-index 486879f..3adc449 100644
+index 486879f512cd28f1b80e828809359b55956fbcc3..3adc449b23e9c590d57cdd914b6c8d990a50e0b0 100644
 --- a/target/linux/ar71xx/base-files/etc/diag.sh
 --- a/target/linux/ar71xx/base-files/etc/diag.sh
 +++ b/target/linux/ar71xx/base-files/etc/diag.sh
 +++ b/target/linux/ar71xx/base-files/etc/diag.sh
 @@ -309,7 +309,8 @@ get_status_led() {
 @@ -309,7 +309,8 @@ get_status_led() {
@@ -22,7 +22,7 @@ index 486879f..3adc449 100644
  		;;
  		;;
  	unifi-outdoor-plus)
  	unifi-outdoor-plus)
 diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
 diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
-index 032c671..a79376a 100755
+index 032c671341fd526c7e4e32cb9cba42217165cf5c..a79376a8cff56b144268130a24a930ff2bee95cd 100755
 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
 +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
 +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
 @@ -369,6 +369,7 @@ tl-wa901nd-v3 |\
 @@ -369,6 +369,7 @@ tl-wa901nd-v3 |\
@@ -34,7 +34,7 @@ index 032c671..a79376a 100755
  mynet-rext |\
  mynet-rext |\
  wp543)
  wp543)
 diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
 diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
-index 6c10617..ecf584d 100755
+index 6c106179bfa0c01308a03678aef1b7cf4caaf05b..ecf584d30ecae7a0e2601bed38c6cfad42cab124 100755
 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
 +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
 +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
 @@ -902,6 +902,9 @@ ar71xx_board_detect() {
 @@ -902,6 +902,9 @@ ar71xx_board_detect() {
@@ -48,7 +48,7 @@ index 6c10617..ecf584d 100755
  		name="uap-pro"
  		name="uap-pro"
  		;;
  		;;
 diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
 diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
-index 024e493..fff1c3c 100755
+index 024e4930949c927efd36c3ac67cd351dcaa4bf7b..fff1c3c912cee678ea88e225958b28ceb4c4b742 100755
 --- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
 --- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
 +++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
 +++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
 @@ -252,6 +252,7 @@ platform_check_image() {
 @@ -252,6 +252,7 @@ platform_check_image() {
@@ -60,7 +60,7 @@ index 024e493..fff1c3c 100755
  	carambola2 | \
  	carambola2 | \
  	weio )
  	weio )
 diff --git a/target/linux/ar71xx/config-3.18 b/target/linux/ar71xx/config-3.18
 diff --git a/target/linux/ar71xx/config-3.18 b/target/linux/ar71xx/config-3.18
-index e0d52d9..a068cc5 100644
+index e0d52d9fcbad980f7220dd1f93388359e52dc8f9..a068cc5768aed6f29a67de27d24f00dc57e0695a 100644
 --- a/target/linux/ar71xx/config-3.18
 --- a/target/linux/ar71xx/config-3.18
 +++ b/target/linux/ar71xx/config-3.18
 +++ b/target/linux/ar71xx/config-3.18
 @@ -141,6 +141,7 @@ CONFIG_ATH79_MACH_TL_WR941ND=y
 @@ -141,6 +141,7 @@ CONFIG_ATH79_MACH_TL_WR941ND=y
@@ -82,7 +82,7 @@ index e0d52d9..a068cc5 100644
  CONFIG_SPI_ATH79=y
  CONFIG_SPI_ATH79=y
 diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-ubnt-unifiac.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-ubnt-unifiac.c
 diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-ubnt-unifiac.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-ubnt-unifiac.c
 new file mode 100644
 new file mode 100644
-index 0000000..3617ca7
+index 0000000000000000000000000000000000000000..3617ca7d5fc0fff00fce9741b5d9169fac8c83c8
 --- /dev/null
 --- /dev/null
 +++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-ubnt-unifiac.c
 +++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-ubnt-unifiac.c
 @@ -0,0 +1,109 @@
 @@ -0,0 +1,109 @@
@@ -196,7 +196,7 @@ index 0000000..3617ca7
 +MIPS_MACHINE(ATH79_MACH_UBNT_UNIFIAC, "UBNT-UF-AC", "Ubiquiti UniFi-AC",
 +MIPS_MACHINE(ATH79_MACH_UBNT_UNIFIAC, "UBNT-UF-AC", "Ubiquiti UniFi-AC",
 +	     ubnt_unifiac_setup);
 +	     ubnt_unifiac_setup);
 diff --git a/target/linux/ar71xx/generic/profiles/ubnt.mk b/target/linux/ar71xx/generic/profiles/ubnt.mk
 diff --git a/target/linux/ar71xx/generic/profiles/ubnt.mk b/target/linux/ar71xx/generic/profiles/ubnt.mk
-index d8e24d0..94eff18 100644
+index d8e24d0032d75231d27be8207fe55294fd108282..94eff18318264de85ea459e94280c88726404888 100644
 --- a/target/linux/ar71xx/generic/profiles/ubnt.mk
 --- a/target/linux/ar71xx/generic/profiles/ubnt.mk
 +++ b/target/linux/ar71xx/generic/profiles/ubnt.mk
 +++ b/target/linux/ar71xx/generic/profiles/ubnt.mk
 @@ -38,6 +38,17 @@ endef
 @@ -38,6 +38,17 @@ endef
@@ -218,7 +218,7 @@ index d8e24d0..94eff18 100644
  	NAME:=Ubiquiti UniFiAP Outdoor
  	NAME:=Ubiquiti UniFiAP Outdoor
  	PACKAGES:=
  	PACKAGES:=
 diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile
 diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile
-index 0783381..aaaf89a 100644
+index 0783381baeddef2064df8faff89c49c2bed6a28b..aaaf89ac1a369431cf9bc15c13e774ba6826bbf3 100644
 --- a/target/linux/ar71xx/image/Makefile
 --- a/target/linux/ar71xx/image/Makefile
 +++ b/target/linux/ar71xx/image/Makefile
 +++ b/target/linux/ar71xx/image/Makefile
 @@ -740,6 +740,16 @@ define Device/oolite
 @@ -740,6 +740,16 @@ define Device/oolite
@@ -239,7 +239,7 @@ index 0783381..aaaf89a 100644
  
  
  # $(1): rootfs type.
  # $(1): rootfs type.
 diff --git a/target/linux/ar71xx/mikrotik/config-default b/target/linux/ar71xx/mikrotik/config-default
 diff --git a/target/linux/ar71xx/mikrotik/config-default b/target/linux/ar71xx/mikrotik/config-default
-index b8a7bf1..2b1fe24 100644
+index b8a7bf13f2582b0b458d17f5e4b266a6e110faa1..2b1fe2491c7a00449453efdc4969015ec1b28291 100644
 --- a/target/linux/ar71xx/mikrotik/config-default
 --- a/target/linux/ar71xx/mikrotik/config-default
 +++ b/target/linux/ar71xx/mikrotik/config-default
 +++ b/target/linux/ar71xx/mikrotik/config-default
 @@ -97,6 +97,7 @@ CONFIG_ATH79_MACH_RBSXTLITE=y
 @@ -97,6 +97,7 @@ CONFIG_ATH79_MACH_RBSXTLITE=y
@@ -251,7 +251,7 @@ index b8a7bf1..2b1fe24 100644
  # CONFIG_ATH79_MACH_WLAE_AG300N is not set
  # CONFIG_ATH79_MACH_WLAE_AG300N is not set
  # CONFIG_ATH79_MACH_WLR8100 is not set
  # CONFIG_ATH79_MACH_WLR8100 is not set
 diff --git a/target/linux/ar71xx/nand/config-default b/target/linux/ar71xx/nand/config-default
 diff --git a/target/linux/ar71xx/nand/config-default b/target/linux/ar71xx/nand/config-default
-index 626d676..f62cf1a 100644
+index 626d676c621b90feb31a88e7b8c2daa587a8f603..f62cf1a4399718b2f4e94a974d26ddaf8d46a8ec 100644
 --- a/target/linux/ar71xx/nand/config-default
 --- a/target/linux/ar71xx/nand/config-default
 +++ b/target/linux/ar71xx/nand/config-default
 +++ b/target/linux/ar71xx/nand/config-default
 @@ -59,6 +59,7 @@
 @@ -59,6 +59,7 @@
@@ -263,7 +263,7 @@ index 626d676..f62cf1a 100644
  # CONFIG_ATH79_MACH_WLAE_AG300N is not set
  # CONFIG_ATH79_MACH_WLAE_AG300N is not set
  # CONFIG_ATH79_MACH_WNDAP360 is not set
  # CONFIG_ATH79_MACH_WNDAP360 is not set
 diff --git a/target/linux/ar71xx/patches-3.18/610-MIPS-ath79-openwrt-machines.patch b/target/linux/ar71xx/patches-3.18/610-MIPS-ath79-openwrt-machines.patch
 diff --git a/target/linux/ar71xx/patches-3.18/610-MIPS-ath79-openwrt-machines.patch b/target/linux/ar71xx/patches-3.18/610-MIPS-ath79-openwrt-machines.patch
-index 76aeb94..27dc73f 100644
+index 76aeb94412e6f44b9a81fc44858e9c4540a08845..27dc73ffa239979a799bbede72440907e9d0e187 100644
 --- a/target/linux/ar71xx/patches-3.18/610-MIPS-ath79-openwrt-machines.patch
 --- a/target/linux/ar71xx/patches-3.18/610-MIPS-ath79-openwrt-machines.patch
 +++ b/target/linux/ar71xx/patches-3.18/610-MIPS-ath79-openwrt-machines.patch
 +++ b/target/linux/ar71xx/patches-3.18/610-MIPS-ath79-openwrt-machines.patch
 @@ -1,6 +1,6 @@
 @@ -1,6 +1,6 @@

+ 1 - 1
patches/openwrt/0039-ar71xx-Fix-eth0-support-for-Ubiquiti-UniFi-AP-AC.patch

@@ -8,7 +8,7 @@ Signed-off-by: Paul Wassi <p.wassi at gmx.at>
 Backport of OpenWrt r49277
 Backport of OpenWrt r49277
 
 
 diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-ubnt-unifiac.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-ubnt-unifiac.c
 diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-ubnt-unifiac.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-ubnt-unifiac.c
-index 3617ca7..072cf12 100644
+index 3617ca7d5fc0fff00fce9741b5d9169fac8c83c8..072cf12a31a0921a8e9b90689864f5d981cd2c32 100644
 --- a/target/linux/ar71xx/files/arch/mips/ath79/mach-ubnt-unifiac.c
 --- a/target/linux/ar71xx/files/arch/mips/ath79/mach-ubnt-unifiac.c
 +++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-ubnt-unifiac.c
 +++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-ubnt-unifiac.c
 @@ -84,6 +84,7 @@ static void __init ubnt_unifiac_setup(void)
 @@ -84,6 +84,7 @@ static void __init ubnt_unifiac_setup(void)

+ 9 - 9
patches/openwrt/0040-ar71xx-Rename-unifiac-to-unifiac-lite.patch

@@ -10,7 +10,7 @@ Signed-off-by: P.Wassi <p.wassi at gmx.at>
 Backport of LEDE c855e70491fbd5d432915c4cbeb3b80f3a117e30
 Backport of LEDE c855e70491fbd5d432915c4cbeb3b80f3a117e30
 
 
 diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
 diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
-index 3adc449..924c116 100644
+index 3adc449b23e9c590d57cdd914b6c8d990a50e0b0..924c1163e26eb84b71e4734b95221104674bfe3e 100644
 --- a/target/linux/ar71xx/base-files/etc/diag.sh
 --- a/target/linux/ar71xx/base-files/etc/diag.sh
 +++ b/target/linux/ar71xx/base-files/etc/diag.sh
 +++ b/target/linux/ar71xx/base-files/etc/diag.sh
 @@ -310,7 +310,7 @@ get_status_led() {
 @@ -310,7 +310,7 @@ get_status_led() {
@@ -23,7 +23,7 @@ index 3adc449..924c116 100644
  		;;
  		;;
  	unifi-outdoor-plus)
  	unifi-outdoor-plus)
 diff --git a/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata b/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
 diff --git a/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata b/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
-index ab7d93c..7777734 100644
+index ab7d93c693f8422bbb518c6accd4ffed169398cd..7777734ae3899840c1c47e7b24373b4bceee0adc 100644
 --- a/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
 --- a/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
 +++ b/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
 +++ b/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
 @@ -81,7 +81,7 @@ case "$FIRMWARE" in
 @@ -81,7 +81,7 @@ case "$FIRMWARE" in
@@ -36,7 +36,7 @@ index ab7d93c..7777734 100644
  		;;
  		;;
  	esac
  	esac
 diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
 diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
-index a79376a..2007042 100755
+index a79376a8cff56b144268130a24a930ff2bee95cd..20070426fd033e4ff2e904f9247deed9eb48c3c3 100755
 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
 +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
 +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
 @@ -369,7 +369,7 @@ tl-wa901nd-v3 |\
 @@ -369,7 +369,7 @@ tl-wa901nd-v3 |\
@@ -49,7 +49,7 @@ index a79376a..2007042 100755
  mynet-rext |\
  mynet-rext |\
  wp543)
  wp543)
 diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
 diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
-index ecf584d..6bc0b86 100755
+index ecf584d30ecae7a0e2601bed38c6cfad42cab124..6bc0b868423ef68fb83147c13b00163b29cf2aec 100755
 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
 +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
 +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
 @@ -902,8 +902,8 @@ ar71xx_board_detect() {
 @@ -902,8 +902,8 @@ ar71xx_board_detect() {
@@ -64,7 +64,7 @@ index ecf584d..6bc0b86 100755
  	*"UniFi AP Pro")
  	*"UniFi AP Pro")
  		name="uap-pro"
  		name="uap-pro"
 diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
 diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
-index fff1c3c..90f961f 100755
+index fff1c3c912cee678ea88e225958b28ceb4c4b742..90f961f3f0aaf3c76a0a8022258fbf5404165ca8 100755
 --- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
 --- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
 +++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
 +++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
 @@ -252,7 +252,7 @@ platform_check_image() {
 @@ -252,7 +252,7 @@ platform_check_image() {
@@ -77,7 +77,7 @@ index fff1c3c..90f961f 100755
  	carambola2 | \
  	carambola2 | \
  	weio )
  	weio )
 diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-ubnt-unifiac.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-ubnt-unifiac.c
 diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-ubnt-unifiac.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-ubnt-unifiac.c
-index 072cf12..31cbe30 100644
+index 072cf12a31a0921a8e9b90689864f5d981cd2c32..31cbe30d3ff9b323cb336c62d6fe0d7a0c67ba42 100644
 --- a/target/linux/ar71xx/files/arch/mips/ath79/mach-ubnt-unifiac.c
 --- a/target/linux/ar71xx/files/arch/mips/ath79/mach-ubnt-unifiac.c
 +++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-ubnt-unifiac.c
 +++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-ubnt-unifiac.c
 @@ -73,7 +73,7 @@ static struct gpio_keys_button ubnt_unifiac_gpio_keys[] __initdata = {
 @@ -73,7 +73,7 @@ static struct gpio_keys_button ubnt_unifiac_gpio_keys[] __initdata = {
@@ -117,7 +117,7 @@ index 072cf12..31cbe30 100644
 +MIPS_MACHINE(ATH79_MACH_UBNT_UNIFIAC_LITE, "UBNT-UF-AC-LITE", "Ubiquiti UniFi-AC-LITE",
 +MIPS_MACHINE(ATH79_MACH_UBNT_UNIFIAC_LITE, "UBNT-UF-AC-LITE", "Ubiquiti UniFi-AC-LITE",
 +	     ubnt_unifiac_lite_setup);
 +	     ubnt_unifiac_lite_setup);
 diff --git a/target/linux/ar71xx/generic/profiles/ubnt.mk b/target/linux/ar71xx/generic/profiles/ubnt.mk
 diff --git a/target/linux/ar71xx/generic/profiles/ubnt.mk b/target/linux/ar71xx/generic/profiles/ubnt.mk
-index 94eff18..eac0240 100644
+index 94eff18318264de85ea459e94280c88726404888..eac02406bbbffebbcb20962929fb8254edba520e 100644
 --- a/target/linux/ar71xx/generic/profiles/ubnt.mk
 --- a/target/linux/ar71xx/generic/profiles/ubnt.mk
 +++ b/target/linux/ar71xx/generic/profiles/ubnt.mk
 +++ b/target/linux/ar71xx/generic/profiles/ubnt.mk
 @@ -38,16 +38,16 @@ endef
 @@ -38,16 +38,16 @@ endef
@@ -143,7 +143,7 @@ index 94eff18..eac0240 100644
  define Profile/UBNTUNIFIOUTDOOR
  define Profile/UBNTUNIFIOUTDOOR
  	NAME:=Ubiquiti UniFiAP Outdoor
  	NAME:=Ubiquiti UniFiAP Outdoor
 diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile
 diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile
-index aaaf89a..42ffc69 100644
+index aaaf89ac1a369431cf9bc15c13e774ba6826bbf3..42ffc69ca3f9b1cffa542fc2d06ead2ef224d6b2 100644
 --- a/target/linux/ar71xx/image/Makefile
 --- a/target/linux/ar71xx/image/Makefile
 +++ b/target/linux/ar71xx/image/Makefile
 +++ b/target/linux/ar71xx/image/Makefile
 @@ -741,14 +741,19 @@ endef
 @@ -741,14 +741,19 @@ endef
@@ -170,7 +170,7 @@ index aaaf89a..42ffc69 100644
  rootfs_type=$(patsubst jffs2-%,jffs2,$(patsubst squashfs-%,squashfs,$(1)))
  rootfs_type=$(patsubst jffs2-%,jffs2,$(patsubst squashfs-%,squashfs,$(1)))
  
  
 diff --git a/target/linux/ar71xx/patches-3.18/610-MIPS-ath79-openwrt-machines.patch b/target/linux/ar71xx/patches-3.18/610-MIPS-ath79-openwrt-machines.patch
 diff --git a/target/linux/ar71xx/patches-3.18/610-MIPS-ath79-openwrt-machines.patch b/target/linux/ar71xx/patches-3.18/610-MIPS-ath79-openwrt-machines.patch
-index 27dc73f..9a28f58 100644
+index 27dc73ffa239979a799bbede72440907e9d0e187..9a28f58f67d5f98fcd4aa83dc09698705e2dfa3e 100644
 --- a/target/linux/ar71xx/patches-3.18/610-MIPS-ath79-openwrt-machines.patch
 --- a/target/linux/ar71xx/patches-3.18/610-MIPS-ath79-openwrt-machines.patch
 +++ b/target/linux/ar71xx/patches-3.18/610-MIPS-ath79-openwrt-machines.patch
 +++ b/target/linux/ar71xx/patches-3.18/610-MIPS-ath79-openwrt-machines.patch
 @@ -165,7 +165,7 @@
 @@ -165,7 +165,7 @@

+ 9 - 9
patches/openwrt/0041-ar71xx-Add-support-for-Ubiquiti-UniFi-AP-AC-PRO.patch

@@ -8,7 +8,7 @@ Signed-off-by: P.Wassi <p.wassi at gmx.at>
 Backport of LEDE 8307c2fe686ded345c80318359d5b6679e581fa2
 Backport of LEDE 8307c2fe686ded345c80318359d5b6679e581fa2
 
 
 diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
 diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
-index 924c116..cb92349 100644
+index 924c1163e26eb84b71e4734b95221104674bfe3e..cb92349cab833179a87a195b94e2539cc5ce3e79 100644
 --- a/target/linux/ar71xx/base-files/etc/diag.sh
 --- a/target/linux/ar71xx/base-files/etc/diag.sh
 +++ b/target/linux/ar71xx/base-files/etc/diag.sh
 +++ b/target/linux/ar71xx/base-files/etc/diag.sh
 @@ -310,7 +310,8 @@ get_status_led() {
 @@ -310,7 +310,8 @@ get_status_led() {
@@ -22,7 +22,7 @@ index 924c116..cb92349 100644
  		;;
  		;;
  	unifi-outdoor-plus)
  	unifi-outdoor-plus)
 diff --git a/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata b/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
 diff --git a/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata b/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
-index 7777734..5eb20bb 100644
+index 7777734ae3899840c1c47e7b24373b4bceee0adc..5eb20bb26521258599898125d42f6b73b9c81f94 100644
 --- a/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
 --- a/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
 +++ b/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
 +++ b/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
 @@ -81,7 +81,8 @@ case "$FIRMWARE" in
 @@ -81,7 +81,8 @@ case "$FIRMWARE" in
@@ -36,7 +36,7 @@ index 7777734..5eb20bb 100644
  		;;
  		;;
  	esac
  	esac
 diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
 diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
-index 2007042..b59844e 100755
+index 20070426fd033e4ff2e904f9247deed9eb48c3c3..b59844eac49a1269edb88890d89b0b4d8a7121d0 100755
 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
 +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
 +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
 @@ -401,6 +401,13 @@ wpj344)
 @@ -401,6 +401,13 @@ wpj344)
@@ -54,7 +54,7 @@ index 2007042..b59844e 100755
  	ucidef_set_interfaces_lan_wan "eth0" "eth1"
  	ucidef_set_interfaces_lan_wan "eth0" "eth1"
  	;;
  	;;
 diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
 diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
-index 6bc0b86..aded7ad 100755
+index 6bc0b868423ef68fb83147c13b00163b29cf2aec..aded7ad117ffa1c1347c6f457c210d60b8e4df58 100755
 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
 +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
 +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
 @@ -905,6 +905,9 @@ ar71xx_board_detect() {
 @@ -905,6 +905,9 @@ ar71xx_board_detect() {
@@ -68,7 +68,7 @@ index 6bc0b86..aded7ad 100755
  		name="uap-pro"
  		name="uap-pro"
  		;;
  		;;
 diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
 diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
-index 90f961f..0228f14 100755
+index 90f961f3f0aaf3c76a0a8022258fbf5404165ca8..0228f14774d5873a52f19b60ed84389c7be86e51 100755
 --- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
 --- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
 +++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
 +++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
 @@ -253,6 +253,7 @@ platform_check_image() {
 @@ -253,6 +253,7 @@ platform_check_image() {
@@ -80,7 +80,7 @@ index 90f961f..0228f14 100755
  	carambola2 | \
  	carambola2 | \
  	weio )
  	weio )
 diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-ubnt-unifiac.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-ubnt-unifiac.c
 diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-ubnt-unifiac.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-ubnt-unifiac.c
-index 31cbe30..9194bc1 100644
+index 31cbe30d3ff9b323cb336c62d6fe0d7a0c67ba42..9194bc1c0799d83fca3f6fe76b2602d72e5f4ef8 100644
 --- a/target/linux/ar71xx/files/arch/mips/ath79/mach-ubnt-unifiac.c
 --- a/target/linux/ar71xx/files/arch/mips/ath79/mach-ubnt-unifiac.c
 +++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-ubnt-unifiac.c
 +++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-ubnt-unifiac.c
 @@ -21,6 +21,7 @@
 @@ -21,6 +21,7 @@
@@ -171,7 +171,7 @@ index 31cbe30..9194bc1 100644
 +MIPS_MACHINE(ATH79_MACH_UBNT_UNIFIAC_PRO, "UBNT-UF-AC-PRO", "Ubiquiti UniFi-AC-PRO",
 +MIPS_MACHINE(ATH79_MACH_UBNT_UNIFIAC_PRO, "UBNT-UF-AC-PRO", "Ubiquiti UniFi-AC-PRO",
 +	     ubnt_unifiac_pro_setup);
 +	     ubnt_unifiac_pro_setup);
 diff --git a/target/linux/ar71xx/generic/profiles/ubnt.mk b/target/linux/ar71xx/generic/profiles/ubnt.mk
 diff --git a/target/linux/ar71xx/generic/profiles/ubnt.mk b/target/linux/ar71xx/generic/profiles/ubnt.mk
-index eac0240..69b8398 100644
+index eac02406bbbffebbcb20962929fb8254edba520e..69b83985bd6623c0d6732399d3e2cc8c0af9f9f1 100644
 --- a/target/linux/ar71xx/generic/profiles/ubnt.mk
 --- a/target/linux/ar71xx/generic/profiles/ubnt.mk
 +++ b/target/linux/ar71xx/generic/profiles/ubnt.mk
 +++ b/target/linux/ar71xx/generic/profiles/ubnt.mk
 @@ -49,6 +49,17 @@ endef
 @@ -49,6 +49,17 @@ endef
@@ -193,7 +193,7 @@ index eac0240..69b8398 100644
  	NAME:=Ubiquiti UniFiAP Outdoor
  	NAME:=Ubiquiti UniFiAP Outdoor
  	PACKAGES:=
  	PACKAGES:=
 diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile
 diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile
-index 42ffc69..7c648f2 100644
+index 42ffc69ca3f9b1cffa542fc2d06ead2ef224d6b2..7c648f26e10c49000b848e9b300701b388410c04 100644
 --- a/target/linux/ar71xx/image/Makefile
 --- a/target/linux/ar71xx/image/Makefile
 +++ b/target/linux/ar71xx/image/Makefile
 +++ b/target/linux/ar71xx/image/Makefile
 @@ -753,7 +753,13 @@ define Device/ubnt-unifiac-lite
 @@ -753,7 +753,13 @@ define Device/ubnt-unifiac-lite
@@ -212,7 +212,7 @@ index 42ffc69..7c648f2 100644
  rootfs_type=$(patsubst jffs2-%,jffs2,$(patsubst squashfs-%,squashfs,$(1)))
  rootfs_type=$(patsubst jffs2-%,jffs2,$(patsubst squashfs-%,squashfs,$(1)))
  
  
 diff --git a/target/linux/ar71xx/patches-3.18/610-MIPS-ath79-openwrt-machines.patch b/target/linux/ar71xx/patches-3.18/610-MIPS-ath79-openwrt-machines.patch
 diff --git a/target/linux/ar71xx/patches-3.18/610-MIPS-ath79-openwrt-machines.patch b/target/linux/ar71xx/patches-3.18/610-MIPS-ath79-openwrt-machines.patch
-index 9a28f58..debde6e 100644
+index 9a28f58f67d5f98fcd4aa83dc09698705e2dfa3e..debde6e6a552e71b551d8c01ba06af03013407bf 100644
 --- a/target/linux/ar71xx/patches-3.18/610-MIPS-ath79-openwrt-machines.patch
 --- a/target/linux/ar71xx/patches-3.18/610-MIPS-ath79-openwrt-machines.patch
 +++ b/target/linux/ar71xx/patches-3.18/610-MIPS-ath79-openwrt-machines.patch
 +++ b/target/linux/ar71xx/patches-3.18/610-MIPS-ath79-openwrt-machines.patch
 @@ -1,6 +1,6 @@
 @@ -1,6 +1,6 @@

+ 1 - 1
patches/openwrt/0042-libjson-c-Add-support-for-custom-format-strings-for-doubles.patch

@@ -4,7 +4,7 @@ Subject: libjson-c: Add support for custom format strings for doubles
 
 
 diff --git a/package/libs/libjson-c/patches/002-custom-format-string.patch b/package/libs/libjson-c/patches/002-custom-format-string.patch
 diff --git a/package/libs/libjson-c/patches/002-custom-format-string.patch b/package/libs/libjson-c/patches/002-custom-format-string.patch
 new file mode 100644
 new file mode 100644
-index 0000000..2f454c5
+index 0000000000000000000000000000000000000000..2f454c560ff78c1edd4654b9651f0e6299bd5e6f
 --- /dev/null
 --- /dev/null
 +++ b/package/libs/libjson-c/patches/002-custom-format-string.patch
 +++ b/package/libs/libjson-c/patches/002-custom-format-string.patch
 @@ -0,0 +1,98 @@
 @@ -0,0 +1,98 @@

+ 3 - 3
patches/openwrt/0043-ath9k-add-HSR-tuner-support-for-UniFi-Outdoor-Plus.patch

@@ -6,7 +6,7 @@ Patch-by: Stefan Rompf <stefan@loplof.de>
 
 
 diff --git a/package/kernel/mac80211/patches/931-ubnt-uap-plus-hsr.patch b/package/kernel/mac80211/patches/931-ubnt-uap-plus-hsr.patch
 diff --git a/package/kernel/mac80211/patches/931-ubnt-uap-plus-hsr.patch b/package/kernel/mac80211/patches/931-ubnt-uap-plus-hsr.patch
 new file mode 100644
 new file mode 100644
-index 0000000..8e09fee
+index 0000000000000000000000000000000000000000..8e09fee938951ab3636d23b5fe4dee3ab0e11c7a
 --- /dev/null
 --- /dev/null
 +++ b/package/kernel/mac80211/patches/931-ubnt-uap-plus-hsr.patch
 +++ b/package/kernel/mac80211/patches/931-ubnt-uap-plus-hsr.patch
 @@ -0,0 +1,349 @@
 @@ -0,0 +1,349 @@
@@ -360,7 +360,7 @@ index 0000000..8e09fee
 + 
 + 
 + #endif /* _LINUX_ATH9K_PLATFORM_H */
 + #endif /* _LINUX_ATH9K_PLATFORM_H */
 diff --git a/target/linux/ar71xx/patches-3.18/608-MIPS-ath79-ubnt-xm-add-more-boards.patch b/target/linux/ar71xx/patches-3.18/608-MIPS-ath79-ubnt-xm-add-more-boards.patch
 diff --git a/target/linux/ar71xx/patches-3.18/608-MIPS-ath79-ubnt-xm-add-more-boards.patch b/target/linux/ar71xx/patches-3.18/608-MIPS-ath79-ubnt-xm-add-more-boards.patch
-index 7803513..d865ed2 100644
+index 78035131db93f3e465585d7e96bfae9e88783d28..d865ed29ac268b6b49644c0841be6dfeace75038 100644
 --- a/target/linux/ar71xx/patches-3.18/608-MIPS-ath79-ubnt-xm-add-more-boards.patch
 --- a/target/linux/ar71xx/patches-3.18/608-MIPS-ath79-ubnt-xm-add-more-boards.patch
 +++ b/target/linux/ar71xx/patches-3.18/608-MIPS-ath79-ubnt-xm-add-more-boards.patch
 +++ b/target/linux/ar71xx/patches-3.18/608-MIPS-ath79-ubnt-xm-add-more-boards.patch
 @@ -254,6 +254,7 @@
 @@ -254,6 +254,7 @@
@@ -373,7 +373,7 @@ index 7803513..d865ed2 100644
  +	ath79_register_leds_gpio(-1, ARRAY_SIZE(ubnt_unifi_outdoor_plus_leds_gpio),
  +	ath79_register_leds_gpio(-1, ARRAY_SIZE(ubnt_unifi_outdoor_plus_leds_gpio),
 diff --git a/target/linux/generic/patches-3.18/150-ath9k_ubnt_hsr_filter.patch b/target/linux/generic/patches-3.18/150-ath9k_ubnt_hsr_filter.patch
 diff --git a/target/linux/generic/patches-3.18/150-ath9k_ubnt_hsr_filter.patch b/target/linux/generic/patches-3.18/150-ath9k_ubnt_hsr_filter.patch
 new file mode 100644
 new file mode 100644
-index 0000000..b8844f1
+index 0000000000000000000000000000000000000000..b8844f1341f9a8a478730ef6ac440833b84b3e98
 --- /dev/null
 --- /dev/null
 +++ b/target/linux/generic/patches-3.18/150-ath9k_ubnt_hsr_filter.patch
 +++ b/target/linux/generic/patches-3.18/150-ath9k_ubnt_hsr_filter.patch
 @@ -0,0 +1,16 @@
 @@ -0,0 +1,16 @@

+ 1 - 1
patches/openwrt/0044-ar71xx-Send-power-to-USB-port-on-WNR2200.patch

@@ -14,7 +14,7 @@ Signed-off-by: Riley Baird <BM-2cVqnDuYbAU5do2DfJTrN7ZbAJ246S4XiX@bitmessage.ch>
 Backport of r47236
 Backport of r47236
 
 
 diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-wnr2200.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-wnr2200.c
 diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-wnr2200.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-wnr2200.c
-index 0087cac..5d23f21 100644
+index 0087cac62087786d45bd5c8b68b2ec2ce3b5715e..5d23f21763cd9f4ddafc97f79ff47e819a18f2a6 100644
 --- a/target/linux/ar71xx/files/arch/mips/ath79/mach-wnr2200.c
 --- a/target/linux/ar71xx/files/arch/mips/ath79/mach-wnr2200.c
 +++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-wnr2200.c
 +++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-wnr2200.c
 @@ -36,7 +36,7 @@
 @@ -36,7 +36,7 @@

+ 1 - 1
patches/openwrt/0045-ar71xx-WNR2200-fix-for-random-WLAN-MAC.patch

@@ -11,7 +11,7 @@ Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
 Backport of r49100
 Backport of r49100
 
 
 diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-wnr2200.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-wnr2200.c
 diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-wnr2200.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-wnr2200.c
-index 5d23f21..37ffc4c 100644
+index 5d23f21763cd9f4ddafc97f79ff47e819a18f2a6..37ffc4c56be33be96c43078117d7b123679378b3 100644
 --- a/target/linux/ar71xx/files/arch/mips/ath79/mach-wnr2200.c
 --- a/target/linux/ar71xx/files/arch/mips/ath79/mach-wnr2200.c
 +++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-wnr2200.c
 +++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-wnr2200.c
 @@ -12,6 +12,7 @@
 @@ -12,6 +12,7 @@

+ 2 - 2
patches/openwrt/0046-ar71xx-WNR2200-enable-control-of-all-LEDs-and-buttons.patch

@@ -10,7 +10,7 @@ Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
 Backport of r49101
 Backport of r49101
 
 
 diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
 diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
-index f4d5234..b867796 100644
+index f4d523418c8d59e3c96dbe3d68eedd8d85e33546..b8677960249c1e05703570fdf2be4197bde5cac5 100644
 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
 +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
 +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
 @@ -600,6 +600,21 @@ wnr2000-v4)
 @@ -600,6 +600,21 @@ wnr2000-v4)
@@ -36,7 +36,7 @@ index f4d5234..b867796 100644
  	ucidef_set_led_netdev "wan-amber" "WAN (amber)" "netgear:amber:wan" "eth0"
  	ucidef_set_led_netdev "wan-amber" "WAN (amber)" "netgear:amber:wan" "eth0"
  	ucidef_set_led_wlan "wlan" "WLAN" "netgear:blue:wlan" "phy0tpt"
  	ucidef_set_led_wlan "wlan" "WLAN" "netgear:blue:wlan" "phy0tpt"
 diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-wnr2200.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-wnr2200.c
 diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-wnr2200.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-wnr2200.c
-index 37ffc4c..258d254 100644
+index 37ffc4c56be33be96c43078117d7b123679378b3..258d254cf4abfc01a4d859f3f464b2a25aeec165 100644
 --- a/target/linux/ar71xx/files/arch/mips/ath79/mach-wnr2200.c
 --- a/target/linux/ar71xx/files/arch/mips/ath79/mach-wnr2200.c
 +++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-wnr2200.c
 +++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-wnr2200.c
 @@ -15,6 +15,8 @@
 @@ -15,6 +15,8 @@

+ 10 - 10
patches/openwrt/0047-ar71xx-add-GL-AR150-support.patch

@@ -9,7 +9,7 @@ https://raw.githubusercontent.com/domino-team/OpenWrt-patches/master/AR150%2C%20
 (and fixed indentation in target/linux/ar71xx/base-files/lib/ar71xx.sh)
 (and fixed indentation in target/linux/ar71xx/base-files/lib/ar71xx.sh)
 
 
 diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
 diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
-index b867796..d81358d 100644
+index b8677960249c1e05703570fdf2be4197bde5cac5..d81358d6bf9103ffeb2929b06d3ab01efffe931c 100644
 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
 +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
 +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
 @@ -188,6 +188,10 @@ dlan-pro-1200-ac)
 @@ -188,6 +188,10 @@ dlan-pro-1200-ac)
@@ -24,7 +24,7 @@ index b867796..d81358d 100644
  	ucidef_set_led_netdev "lan" "LAN" "gl-connect:green:lan" "eth1"
  	ucidef_set_led_netdev "lan" "LAN" "gl-connect:green:lan" "eth1"
  	ucidef_set_led_wlan "wlan" "WLAN" "gl-connect:red:wlan" "phy0tpt"
  	ucidef_set_led_wlan "wlan" "WLAN" "gl-connect:red:wlan" "phy0tpt"
 diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
 diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
-index b59844e..ac3deb8 100755
+index b59844eac49a1269edb88890d89b0b4d8a7121d0..ac3deb8aa2ed4717e2bd682cb4ffd7d32c50134f 100755
 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
 +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
 +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
 @@ -383,6 +383,7 @@ dir-505-a1)
 @@ -383,6 +383,7 @@ dir-505-a1)
@@ -36,7 +36,7 @@ index b59844e..ac3deb8 100755
  jwap003 |\
  jwap003 |\
  pb42 |\
  pb42 |\
 diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
 diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
-index aded7ad..f242980 100755
+index aded7ad117ffa1c1347c6f457c210d60b8e4df58..f242980b3e401f2e9de2b8abe7e984b24a71db5a 100755
 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
 +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
 +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
 @@ -503,6 +503,9 @@ ar71xx_board_detect() {
 @@ -503,6 +503,9 @@ ar71xx_board_detect() {
@@ -50,7 +50,7 @@ index aded7ad..f242980 100755
  		name="epg5000"
  		name="epg5000"
  		;;
  		;;
 diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
 diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
-index 0228f14..d816f21 100755
+index 0228f14774d5873a52f19b60ed84389c7be86e51..d816f211891d6a259930f2781574504ea62b4e16 100755
 --- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
 --- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
 +++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
 +++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
 @@ -216,6 +216,7 @@ platform_check_image() {
 @@ -216,6 +216,7 @@ platform_check_image() {
@@ -62,7 +62,7 @@ index 0228f14..d816f21 100755
  	esr1750 | \
  	esr1750 | \
  	esr900 | \
  	esr900 | \
 diff --git a/target/linux/ar71xx/config-3.18 b/target/linux/ar71xx/config-3.18
 diff --git a/target/linux/ar71xx/config-3.18 b/target/linux/ar71xx/config-3.18
-index a068cc5..d4d9273 100644
+index a068cc5768aed6f29a67de27d24f00dc57e0695a..d4d92738d0ab010e1d43ebed0baef34fd9bc3f9d 100644
 --- a/target/linux/ar71xx/config-3.18
 --- a/target/linux/ar71xx/config-3.18
 +++ b/target/linux/ar71xx/config-3.18
 +++ b/target/linux/ar71xx/config-3.18
 @@ -70,6 +70,7 @@ CONFIG_ATH79_MACH_ESR1750=y
 @@ -70,6 +70,7 @@ CONFIG_ATH79_MACH_ESR1750=y
@@ -75,7 +75,7 @@ index a068cc5..d4d9273 100644
  CONFIG_ATH79_MACH_GS_OOLITE=y
  CONFIG_ATH79_MACH_GS_OOLITE=y
 diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-gl-ar150.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-gl-ar150.c
 diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-gl-ar150.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-gl-ar150.c
 new file mode 100644
 new file mode 100644
-index 0000000..310182c
+index 0000000000000000000000000000000000000000..310182cc8e9c22e2bfcb168996d4f01d117dc103
 --- /dev/null
 --- /dev/null
 +++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-gl-ar150.c
 +++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-gl-ar150.c
 @@ -0,0 +1,125 @@
 @@ -0,0 +1,125 @@
@@ -206,7 +206,7 @@ index 0000000..310182c
 +MIPS_MACHINE(ATH79_MACH_GL_AR150, "GL-AR150", "GL AR150",gl_ar150_setup);
 +MIPS_MACHINE(ATH79_MACH_GL_AR150, "GL-AR150", "GL AR150",gl_ar150_setup);
 diff --git a/target/linux/ar71xx/generic/profiles/gl-connect.mk b/target/linux/ar71xx/generic/profiles/gl-connect.mk
 diff --git a/target/linux/ar71xx/generic/profiles/gl-connect.mk b/target/linux/ar71xx/generic/profiles/gl-connect.mk
 deleted file mode 100644
 deleted file mode 100644
-index e9377db..0000000
+index e9377dbbfa042f790f15817313c24b2700617f37..0000000000000000000000000000000000000000
 --- a/target/linux/ar71xx/generic/profiles/gl-connect.mk
 --- a/target/linux/ar71xx/generic/profiles/gl-connect.mk
 +++ /dev/null
 +++ /dev/null
 @@ -1,17 +0,0 @@
 @@ -1,17 +0,0 @@
@@ -229,7 +229,7 @@ index e9377db..0000000
 -$(eval $(call Profile,GLINET))
 -$(eval $(call Profile,GLINET))
 diff --git a/target/linux/ar71xx/generic/profiles/gli.mk b/target/linux/ar71xx/generic/profiles/gli.mk
 diff --git a/target/linux/ar71xx/generic/profiles/gli.mk b/target/linux/ar71xx/generic/profiles/gli.mk
 new file mode 100644
 new file mode 100644
-index 0000000..a6ad661
+index 0000000000000000000000000000000000000000..a6ad661666a168a591319e74ef211277f8617fca
 --- /dev/null
 --- /dev/null
 +++ b/target/linux/ar71xx/generic/profiles/gli.mk
 +++ b/target/linux/ar71xx/generic/profiles/gli.mk
 @@ -0,0 +1,27 @@
 @@ -0,0 +1,27 @@
@@ -261,7 +261,7 @@ index 0000000..a6ad661
 +
 +
 +$(eval $(call Profile,GL-AR150))
 +$(eval $(call Profile,GL-AR150))
 diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile
 diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile
-index 7c648f2..05eea0b 100644
+index 7c648f26e10c49000b848e9b300701b388410c04..05eea0b16c362ba5f70c9f435dbe312087b319c2 100644
 --- a/target/linux/ar71xx/image/Makefile
 --- a/target/linux/ar71xx/image/Makefile
 +++ b/target/linux/ar71xx/image/Makefile
 +++ b/target/linux/ar71xx/image/Makefile
 @@ -144,6 +144,14 @@ define Device/weio
 @@ -144,6 +144,14 @@ define Device/weio
@@ -281,7 +281,7 @@ index 7c648f2..05eea0b 100644
    NETGEAR_KERNEL_MAGIC = 0x33373030
    NETGEAR_KERNEL_MAGIC = 0x33373030
 diff --git a/target/linux/ar71xx/patches-3.18/911-MIPS-ath79-add-gl_ar150.patch b/target/linux/ar71xx/patches-3.18/911-MIPS-ath79-add-gl_ar150.patch
 diff --git a/target/linux/ar71xx/patches-3.18/911-MIPS-ath79-add-gl_ar150.patch b/target/linux/ar71xx/patches-3.18/911-MIPS-ath79-add-gl_ar150.patch
 new file mode 100644
 new file mode 100644
-index 0000000..31db581
+index 0000000000000000000000000000000000000000..31db5816caf5dc8076ceec349884cf9a47b2fc68
 --- /dev/null
 --- /dev/null
 +++ b/target/linux/ar71xx/patches-3.18/911-MIPS-ath79-add-gl_ar150.patch
 +++ b/target/linux/ar71xx/patches-3.18/911-MIPS-ath79-add-gl_ar150.patch
 @@ -0,0 +1,39 @@
 @@ -0,0 +1,39 @@

+ 2 - 2
patches/openwrt/0048-build-don-t-add-j-for-parallel-builds-with-Make-4.2.patch

@@ -21,7 +21,7 @@ Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
 Backport of LEDE 6fb212f2933bbbdf2935124205717c9d0ca72b32
 Backport of LEDE 6fb212f2933bbbdf2935124205717c9d0ca72b32
 
 
 diff --git a/include/host-build.mk b/include/host-build.mk
 diff --git a/include/host-build.mk b/include/host-build.mk
-index e2b5f2f..44401b8 100644
+index e2b5f2f8d1882207e11697df3df1302076adfaa3..44401b866a4d637648bb093470a5e66b4a3e38fc 100644
 --- a/include/host-build.mk
 --- a/include/host-build.mk
 +++ b/include/host-build.mk
 +++ b/include/host-build.mk
 @@ -10,7 +10,7 @@ HOST_INSTALL_DIR ?= $(HOST_BUILD_DIR)/host-install
 @@ -10,7 +10,7 @@ HOST_INSTALL_DIR ?= $(HOST_BUILD_DIR)/host-install
@@ -34,7 +34,7 @@ index e2b5f2f..44401b8 100644
    HOST_MAKE_J:=-j$(CONFIG_PKG_BUILD_JOBS)
    HOST_MAKE_J:=-j$(CONFIG_PKG_BUILD_JOBS)
  endif
  endif
 diff --git a/include/package.mk b/include/package.mk
 diff --git a/include/package.mk b/include/package.mk
-index c69d928..a99cdc6 100644
+index c69d92819779dd0ee92381620accd73ef2b80de6..a99cdc6990280d7ef83223861cd9f224c6eebc33 100644
 --- a/include/package.mk
 --- a/include/package.mk
 +++ b/include/package.mk
 +++ b/include/package.mk
 @@ -23,7 +23,7 @@ PKG_RELRO_PARTIAL ?= 1
 @@ -23,7 +23,7 @@ PKG_RELRO_PARTIAL ?= 1

+ 1 - 1
patches/openwrt/0049-tools-cmake-fix-parallel-build-with-Make-4.2.patch

@@ -11,7 +11,7 @@ Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
 Backport of LEDE 96db10752483cb07f822686482b44be6c21fbb5f
 Backport of LEDE 96db10752483cb07f822686482b44be6c21fbb5f
 
 
 diff --git a/tools/cmake/Makefile b/tools/cmake/Makefile
 diff --git a/tools/cmake/Makefile b/tools/cmake/Makefile
-index 08e2b02..6c211de 100644
+index 08e2b028150dd4f496e3a8ebccf27bd49b6937c2..6c211def540a6a41012349d5979b919481e1bcec 100644
 --- a/tools/cmake/Makefile
 --- a/tools/cmake/Makefile
 +++ b/tools/cmake/Makefile
 +++ b/tools/cmake/Makefile
 @@ -18,10 +18,11 @@ HOST_CONFIGURE_PARALLEL:=1
 @@ -18,10 +18,11 @@ HOST_CONFIGURE_PARALLEL:=1

+ 4 - 4
patches/openwrt/0050-linux-make-IPv6-builtin-if-selected-saves-30KB.patch

@@ -10,7 +10,7 @@ kmod-ipv6 is added to the PROVIDES of the kernel package, so we don't have
 to adjust all packages depending on kmod-ipv6.
 to adjust all packages depending on kmod-ipv6.
 
 
 diff --git a/config/Config-build.in b/config/Config-build.in
 diff --git a/config/Config-build.in b/config/Config-build.in
-index 4674d84..cd50290 100644
+index 4674d8403539a3b209d709342ab71a6e6ff79de2..cd50290f812f73bc6886a789a456956fa4fb1e42 100644
 --- a/config/Config-build.in
 --- a/config/Config-build.in
 +++ b/config/Config-build.in
 +++ b/config/Config-build.in
 @@ -83,7 +83,7 @@ menu "Global build settings"
 @@ -83,7 +83,7 @@ menu "Global build settings"
@@ -23,7 +23,7 @@ index 4674d84..cd50290 100644
  	config PKG_BUILD_PARALLEL
  	config PKG_BUILD_PARALLEL
  		bool
  		bool
 diff --git a/package/kernel/linux/Makefile b/package/kernel/linux/Makefile
 diff --git a/package/kernel/linux/Makefile b/package/kernel/linux/Makefile
-index 45ca9fa..b06c49a 100644
+index 45ca9faa923eb1a1db97d94d0406a46223c59a8f..b06c49a92fd396e8edcb0ca7a7a94b74b05a87e0 100644
 --- a/package/kernel/linux/Makefile
 --- a/package/kernel/linux/Makefile
 +++ b/package/kernel/linux/Makefile
 +++ b/package/kernel/linux/Makefile
 @@ -49,6 +49,7 @@ define Package/kernel
 @@ -49,6 +49,7 @@ define Package/kernel
@@ -35,7 +35,7 @@ index 45ca9fa..b06c49a 100644
  
  
  define Package/kernel/install
  define Package/kernel/install
 diff --git a/package/kernel/linux/modules/netsupport.mk b/package/kernel/linux/modules/netsupport.mk
 diff --git a/package/kernel/linux/modules/netsupport.mk b/package/kernel/linux/modules/netsupport.mk
-index cea8e47..8a2760d 100644
+index cea8e47a65b5283640a17ed6c311bd87c70373b2..8a2760d8a4a429f206eba41a8c83432e5b6ddab7 100644
 --- a/package/kernel/linux/modules/netsupport.mk
 --- a/package/kernel/linux/modules/netsupport.mk
 +++ b/package/kernel/linux/modules/netsupport.mk
 +++ b/package/kernel/linux/modules/netsupport.mk
 @@ -439,7 +439,7 @@ $(eval $(call KernelPackage,iptunnel4))
 @@ -439,7 +439,7 @@ $(eval $(call KernelPackage,iptunnel4))
@@ -130,7 +130,7 @@ index cea8e47..8a2760d 100644
  
  
  define KernelPackage/sctp/description
  define KernelPackage/sctp/description
 diff --git a/package/network/services/dnsmasq/Makefile b/package/network/services/dnsmasq/Makefile
 diff --git a/package/network/services/dnsmasq/Makefile b/package/network/services/dnsmasq/Makefile
-index 19a8df9..8fd51fe 100644
+index 19a8df9009da7fee967b84f65248470db3b34150..8fd51fe8748082b072710b718300a706832b25be 100644
 --- a/package/network/services/dnsmasq/Makefile
 --- a/package/network/services/dnsmasq/Makefile
 +++ b/package/network/services/dnsmasq/Makefile
 +++ b/package/network/services/dnsmasq/Makefile
 @@ -52,7 +52,6 @@ define Package/dnsmasq-full
 @@ -52,7 +52,6 @@ define Package/dnsmasq-full

+ 1 - 1
patches/openwrt/0051-package-ipkg.mk-fix-Provides-for-packages-with-multiple-PROVIDES-entries.patch

@@ -7,7 +7,7 @@ Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
 Backport of LEDE 3ee6c17cd14ec1fed0b0491542c499c03fc6d211
 Backport of LEDE 3ee6c17cd14ec1fed0b0491542c499c03fc6d211
 
 
 diff --git a/include/package-ipkg.mk b/include/package-ipkg.mk
 diff --git a/include/package-ipkg.mk b/include/package-ipkg.mk
-index eb4c874..1830d64 100644
+index eb4c874047e8a9e24a4d77b13f7ba66e1221cbb5..1830d644c36fa3dad342d3283529a18b8d70a377 100644
 --- a/include/package-ipkg.mk
 --- a/include/package-ipkg.mk
 +++ b/include/package-ipkg.mk
 +++ b/include/package-ipkg.mk
 @@ -154,7 +154,7 @@ Package: $(1)
 @@ -154,7 +154,7 @@ Package: $(1)

+ 7 - 7
patches/openwrt/0052-kernel-remove-packaging-of-kmod-crypto-core-and-kmod-crypto-arc4.patch

@@ -13,7 +13,7 @@ The packages kmod-crypto-{core,arc4} are added to kernel PROVIDES to
 satisfy dependencies of CC packages.
 satisfy dependencies of CC packages.
 
 
 diff --git a/package/kernel/linux/Makefile b/package/kernel/linux/Makefile
 diff --git a/package/kernel/linux/Makefile b/package/kernel/linux/Makefile
-index b06c49a..19bcbd5 100644
+index b06c49a92fd396e8edcb0ca7a7a94b74b05a87e0..19bcbd582ba06cb8cdb9ee869c50a67dbfd470bb 100644
 --- a/package/kernel/linux/Makefile
 --- a/package/kernel/linux/Makefile
 +++ b/package/kernel/linux/Makefile
 +++ b/package/kernel/linux/Makefile
 @@ -49,7 +49,7 @@ define Package/kernel
 @@ -49,7 +49,7 @@ define Package/kernel
@@ -26,7 +26,7 @@ index b06c49a..19bcbd5 100644
  
  
  define Package/kernel/install
  define Package/kernel/install
 diff --git a/package/kernel/linux/modules/crypto.mk b/package/kernel/linux/modules/crypto.mk
 diff --git a/package/kernel/linux/modules/crypto.mk b/package/kernel/linux/modules/crypto.mk
-index c8e0fbb..926dab0 100644
+index c8e0fbb04397c9b1fa7ebde3579f663b5d756e1b..926dab0e3379efbc92aeac865b02673928c18644 100644
 --- a/package/kernel/linux/modules/crypto.mk
 --- a/package/kernel/linux/modules/crypto.mk
 +++ b/package/kernel/linux/modules/crypto.mk
 +++ b/package/kernel/linux/modules/crypto.mk
 @@ -15,24 +15,9 @@ crypto_confvar=CONFIG_CRYPTO_$(word 1,$(subst =,$(space),$(1)))
 @@ -15,24 +15,9 @@ crypto_confvar=CONFIG_CRYPTO_$(word 1,$(subst =,$(space),$(1)))
@@ -74,7 +74,7 @@ index c8e0fbb..926dab0 100644
    TITLE:=Combined mode wrapper for IPsec
    TITLE:=Combined mode wrapper for IPsec
    DEPENDS:=+kmod-crypto-manager
    DEPENDS:=+kmod-crypto-manager
 diff --git a/package/kernel/linux/modules/fs.mk b/package/kernel/linux/modules/fs.mk
 diff --git a/package/kernel/linux/modules/fs.mk b/package/kernel/linux/modules/fs.mk
-index fa18237..cc87a45 100644
+index fa182375ea8b0224753141620bd168328194ddf4..cc87a45961d04d93badce575530495f994deee86 100644
 --- a/package/kernel/linux/modules/fs.mk
 --- a/package/kernel/linux/modules/fs.mk
 +++ b/package/kernel/linux/modules/fs.mk
 +++ b/package/kernel/linux/modules/fs.mk
 @@ -91,7 +91,6 @@ define KernelPackage/fs-cifs
 @@ -91,7 +91,6 @@ define KernelPackage/fs-cifs
@@ -86,7 +86,7 @@ index fa18237..cc87a45 100644
      +kmod-crypto-md5 \
      +kmod-crypto-md5 \
      +kmod-crypto-md4 \
      +kmod-crypto-md4 \
 diff --git a/package/kernel/linux/modules/netsupport.mk b/package/kernel/linux/modules/netsupport.mk
 diff --git a/package/kernel/linux/modules/netsupport.mk b/package/kernel/linux/modules/netsupport.mk
-index 8a2760d..ab76946 100644
+index 8a2760d8a4a429f206eba41a8c83432e5b6ddab7..ab76946d2ab30e748ea5bc69c24051dbfc411036 100644
 --- a/package/kernel/linux/modules/netsupport.mk
 --- a/package/kernel/linux/modules/netsupport.mk
 +++ b/package/kernel/linux/modules/netsupport.mk
 +++ b/package/kernel/linux/modules/netsupport.mk
 @@ -714,7 +714,7 @@ $(eval $(call KernelPackage,ipoa))
 @@ -714,7 +714,7 @@ $(eval $(call KernelPackage,ipoa))
@@ -108,7 +108,7 @@ index 8a2760d..ab76946 100644
  
  
  define KernelPackage/rxrpc/description
  define KernelPackage/rxrpc/description
 diff --git a/target/linux/generic/config-3.18 b/target/linux/generic/config-3.18
 diff --git a/target/linux/generic/config-3.18 b/target/linux/generic/config-3.18
-index 6038692..a0dc3c9 100644
+index 6038692b7e81334e4864d30453f734f4fe829aa0..a0dc3c9b607abe32c1ca021b7fad293a8f742ec1 100644
 --- a/target/linux/generic/config-3.18
 --- a/target/linux/generic/config-3.18
 +++ b/target/linux/generic/config-3.18
 +++ b/target/linux/generic/config-3.18
 @@ -700,9 +700,10 @@ CONFIG_CRYPTO_ALGAPI=y
 @@ -700,9 +700,10 @@ CONFIG_CRYPTO_ALGAPI=y
@@ -125,7 +125,7 @@ index 6038692..a0dc3c9 100644
  # CONFIG_CRYPTO_CAMELLIA is not set
  # CONFIG_CRYPTO_CAMELLIA is not set
  # CONFIG_CRYPTO_CAST5 is not set
  # CONFIG_CRYPTO_CAST5 is not set
 diff --git a/target/linux/omap/config-3.18 b/target/linux/omap/config-3.18
 diff --git a/target/linux/omap/config-3.18 b/target/linux/omap/config-3.18
-index a06a350..d5003c2 100644
+index a06a350a37c035c66ec8d6242f28379e7992685e..d5003c275b2b2a167d4614f5e33269941a02173e 100644
 --- a/target/linux/omap/config-3.18
 --- a/target/linux/omap/config-3.18
 +++ b/target/linux/omap/config-3.18
 +++ b/target/linux/omap/config-3.18
 @@ -114,9 +114,6 @@ CONFIG_CPU_V7=y
 @@ -114,9 +114,6 @@ CONFIG_CPU_V7=y
@@ -139,7 +139,7 @@ index a06a350..d5003c2 100644
  CONFIG_CRYPTO_CRC32C=y
  CONFIG_CRYPTO_CRC32C=y
  CONFIG_CRYPTO_CTR=m
  CONFIG_CRYPTO_CTR=m
 diff --git a/target/linux/sunxi/config-3.18 b/target/linux/sunxi/config-3.18
 diff --git a/target/linux/sunxi/config-3.18 b/target/linux/sunxi/config-3.18
-index ddc3f7a..57651bb 100644
+index ddc3f7acb82064fb3be16f5111b0c4344b01c362..57651bbd65ebc61b14d45aefaaf20e5b8d59e27a 100644
 --- a/target/linux/sunxi/config-3.18
 --- a/target/linux/sunxi/config-3.18
 +++ b/target/linux/sunxi/config-3.18
 +++ b/target/linux/sunxi/config-3.18
 @@ -110,9 +110,6 @@ CONFIG_CPU_TLB_V7=y
 @@ -110,9 +110,6 @@ CONFIG_CPU_TLB_V7=y

+ 1 - 1
patches/openwrt/0053-x86-stop-relying-on-hexdump-for-image-build-signature.patch

@@ -10,7 +10,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
 Backport of LEDE d5ee23ee275fcd6550b0051de59706cc928cdac8
 Backport of LEDE d5ee23ee275fcd6550b0051de59706cc928cdac8
 
 
 diff --git a/target/linux/x86/image/Makefile b/target/linux/x86/image/Makefile
 diff --git a/target/linux/x86/image/Makefile b/target/linux/x86/image/Makefile
-index e7e02f1..6f64eba 100644
+index e7e02f15fbb3d1638b26982e7ddff305464e6851..6f64eba398e34093308b766839e69780512a4ca8 100644
 --- a/target/linux/x86/image/Makefile
 --- a/target/linux/x86/image/Makefile
 +++ b/target/linux/x86/image/Makefile
 +++ b/target/linux/x86/image/Makefile
 @@ -40,7 +40,7 @@ ifneq ($(GRUB_TERMINALS),)
 @@ -40,7 +40,7 @@ ifneq ($(GRUB_TERMINALS),)

+ 2 - 2
patches/openwrt/0054-mt76-fix-build-with-kernel-3.18.patch

@@ -4,7 +4,7 @@ Subject: mt76: fix build with kernel 3.18
 
 
 diff --git a/package/kernel/mac80211/patches/945-netdev_alloc_frag.patch b/package/kernel/mac80211/patches/945-netdev_alloc_frag.patch
 diff --git a/package/kernel/mac80211/patches/945-netdev_alloc_frag.patch b/package/kernel/mac80211/patches/945-netdev_alloc_frag.patch
 new file mode 100644
 new file mode 100644
-index 0000000..ea389cd
+index 0000000000000000000000000000000000000000..ea389cd85cb15c7ecb20a1e0c934fcf8b58c0eda
 --- /dev/null
 --- /dev/null
 +++ b/package/kernel/mac80211/patches/945-netdev_alloc_frag.patch
 +++ b/package/kernel/mac80211/patches/945-netdev_alloc_frag.patch
 @@ -0,0 +1,11 @@
 @@ -0,0 +1,11 @@
@@ -20,7 +20,7 @@ index 0000000..ea389cd
 + 
 + 
 + /*
 + /*
 diff --git a/package/kernel/mt76/Makefile b/package/kernel/mt76/Makefile
 diff --git a/package/kernel/mt76/Makefile b/package/kernel/mt76/Makefile
-index bd851e6..989ba0c 100644
+index bd851e61910c9a57ca45a570855ca22329c9ae4b..989ba0c2e8d10f6e7bb8fbd31e7181efff19be7c 100644
 --- a/package/kernel/mt76/Makefile
 --- a/package/kernel/mt76/Makefile
 +++ b/package/kernel/mt76/Makefile
 +++ b/package/kernel/mt76/Makefile
 @@ -24,7 +24,7 @@ include $(INCLUDE_DIR)/package.mk
 @@ -24,7 +24,7 @@ include $(INCLUDE_DIR)/package.mk

+ 1 - 1
patches/openwrt/0055-ramips-Support-LEDs-on-D-Link-DIR-860L-B1.patch

@@ -9,7 +9,7 @@ Signed-off-by: Johannes Wienke <languitar@semipol.de>
 Backport of OpenWrt r48715
 Backport of OpenWrt r48715
 
 
 diff --git a/target/linux/ramips/dts/DIR-860L-B1.dts b/target/linux/ramips/dts/DIR-860L-B1.dts
 diff --git a/target/linux/ramips/dts/DIR-860L-B1.dts b/target/linux/ramips/dts/DIR-860L-B1.dts
-index 23ec114..2582b3d 100644
+index 23ec1140bc89fa06aa2920bc43efc8bb7465fb42..2582b3d4182d3a0fcee6e6ea6f97ab8007edf3a2 100644
 --- a/target/linux/ramips/dts/DIR-860L-B1.dts
 --- a/target/linux/ramips/dts/DIR-860L-B1.dts
 +++ b/target/linux/ramips/dts/DIR-860L-B1.dts
 +++ b/target/linux/ramips/dts/DIR-860L-B1.dts
 @@ -97,6 +97,26 @@
 @@ -97,6 +97,26 @@

+ 3 - 3
patches/openwrt/0056-ramips-add-button-support-and-make-LEDs-known-to-userspace-for-DIR-860L-B1.patch

@@ -5,7 +5,7 @@ Subject: ramips: add button support and make LEDs known to userspace for DIR-860
 Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
 Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
 
 
 diff --git a/target/linux/ramips/base-files/etc/board.d/01_leds b/target/linux/ramips/base-files/etc/board.d/01_leds
 diff --git a/target/linux/ramips/base-files/etc/board.d/01_leds b/target/linux/ramips/base-files/etc/board.d/01_leds
-index 5327d00..5fb28a5 100755
+index 5327d006299ed94c645542f687e20962c83e842d..5fb28a52f7632bf09e7f62ff77dcd7254a2ebcc2 100755
 --- a/target/linux/ramips/base-files/etc/board.d/01_leds
 --- a/target/linux/ramips/base-files/etc/board.d/01_leds
 +++ b/target/linux/ramips/base-files/etc/board.d/01_leds
 +++ b/target/linux/ramips/base-files/etc/board.d/01_leds
 @@ -114,6 +114,9 @@ case $board in
 @@ -114,6 +114,9 @@ case $board in
@@ -19,7 +19,7 @@ index 5327d00..5fb28a5 100755
  		ucidef_set_led_default "power_r" "POWER (red)" "ex2700:red:power" "0"
  		ucidef_set_led_default "power_r" "POWER (red)" "ex2700:red:power" "0"
  		set_wifi_led "ex2700:green:router"
  		set_wifi_led "ex2700:green:router"
 diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh
 diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh
-index 6474ebd..37360a4 100644
+index 6474ebdde354b51648fcafd426e3256f0b6fe8b4..37360a417cb24eaedef24766510db7146c92e3cb 100644
 --- a/target/linux/ramips/base-files/etc/diag.sh
 --- a/target/linux/ramips/base-files/etc/diag.sh
 +++ b/target/linux/ramips/base-files/etc/diag.sh
 +++ b/target/linux/ramips/base-files/etc/diag.sh
 @@ -54,6 +54,9 @@ get_status_led() {
 @@ -54,6 +54,9 @@ get_status_led() {
@@ -33,7 +33,7 @@ index 6474ebd..37360a4 100644
  		status_led="d-link:blue:power"
  		status_led="d-link:blue:power"
  		;;
  		;;
 diff --git a/target/linux/ramips/dts/DIR-860L-B1.dts b/target/linux/ramips/dts/DIR-860L-B1.dts
 diff --git a/target/linux/ramips/dts/DIR-860L-B1.dts b/target/linux/ramips/dts/DIR-860L-B1.dts
-index 2582b3d..c0bcc86 100644
+index 2582b3d4182d3a0fcee6e6ea6f97ab8007edf3a2..c0bcc86216cf4bd343b688aa7e717b5c45775c50 100644
 --- a/target/linux/ramips/dts/DIR-860L-B1.dts
 --- a/target/linux/ramips/dts/DIR-860L-B1.dts
 +++ b/target/linux/ramips/dts/DIR-860L-B1.dts
 +++ b/target/linux/ramips/dts/DIR-860L-B1.dts
 @@ -124,5 +124,17 @@
 @@ -124,5 +124,17 @@

+ 1 - 1
patches/openwrt/0057-ramips-set-correct-LAN-WAN-MAC-addresses-on-DIR-860L-B1.patch

@@ -5,7 +5,7 @@ Subject: ramips: set correct LAN/WAN MAC addresses on DIR-860L B1
 Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
 Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
 
 
 diff --git a/target/linux/ramips/base-files/etc/board.d/02_network b/target/linux/ramips/base-files/etc/board.d/02_network
 diff --git a/target/linux/ramips/base-files/etc/board.d/02_network b/target/linux/ramips/base-files/etc/board.d/02_network
-index a78912d..4e6e507 100755
+index a78912dbc9b5ecdc8a9fb0c583c1e47fdb579015..4e6e507625adf8c706e2311ee121769cadb2aeaf 100755
 --- a/target/linux/ramips/base-files/etc/board.d/02_network
 --- a/target/linux/ramips/base-files/etc/board.d/02_network
 +++ b/target/linux/ramips/base-files/etc/board.d/02_network
 +++ b/target/linux/ramips/base-files/etc/board.d/02_network
 @@ -346,6 +346,11 @@ ramips_setup_macs()
 @@ -346,6 +346,11 @@ ramips_setup_macs()

+ 8 - 8
patches/openwrt/0058-ar71xx-add-support-for-TP-LINK-TL-WR842N-ND-v3.patch

@@ -14,7 +14,7 @@ Signed-off-by: Cezary Jackiewicz <cezary@eko.one.pl>
 Backport of LEDE 0b45bec22c59cc6e6b2fa71dc9a88386c5587132
 Backport of LEDE 0b45bec22c59cc6e6b2fa71dc9a88386c5587132
 
 
 diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
 diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
-index cb92349..2c5d6af 100644
+index cb92349cab833179a87a195b94e2539cc5ce3e79..2c5d6af8f4e2c5ce71adc0b63d32b8506e01b6a2 100644
 --- a/target/linux/ar71xx/base-files/etc/diag.sh
 --- a/target/linux/ar71xx/base-files/etc/diag.sh
 +++ b/target/linux/ar71xx/base-files/etc/diag.sh
 +++ b/target/linux/ar71xx/base-files/etc/diag.sh
 @@ -280,6 +280,7 @@ get_status_led() {
 @@ -280,6 +280,7 @@ get_status_led() {
@@ -26,7 +26,7 @@ index cb92349..2c5d6af 100644
  	tl-wr941nd-v5)
  	tl-wr941nd-v5)
  		status_led="tp-link:green:system"
  		status_led="tp-link:green:system"
 diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
 diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
-index d81358d..14aa7bc 100644
+index d81358d6bf9103ffeb2929b06d3ab01efffe931c..14aa7bc5e56c0d7be435ba3a1803416075eccb58 100644
 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
 +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
 +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
 @@ -523,6 +523,16 @@ tl-wr842n-v2)
 @@ -523,6 +523,16 @@ tl-wr842n-v2)
@@ -47,7 +47,7 @@ index d81358d..14aa7bc 100644
  tl-wa901nd-v3)
  tl-wa901nd-v3)
  	ucidef_set_led_netdev "lan" "LAN" "tp-link:green:lan" "eth0"
  	ucidef_set_led_netdev "lan" "LAN" "tp-link:green:lan" "eth0"
 diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
 diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
-index ac3deb8..ca9c577 100755
+index ac3deb8aa2ed4717e2bd682cb4ffd7d32c50134f..ca9c5771d72681557f4139c0e58f4d7a656bd741 100755
 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
 +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
 +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
 @@ -449,6 +449,7 @@ tl-wr741nd-v4 |\
 @@ -449,6 +449,7 @@ tl-wr741nd-v4 |\
@@ -59,7 +59,7 @@ index ac3deb8..ca9c577 100755
  whr-hp-g300n |\
  whr-hp-g300n |\
  whr-hp-gn |\
  whr-hp-gn |\
 diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
 diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
-index f242980..fcd0bc3 100755
+index f242980b3e401f2e9de2b8abe7e984b24a71db5a..fcd0bc35227de9b6a02c10c1bebf2413bdc555bf 100755
 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
 +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
 +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
 @@ -869,6 +869,9 @@ ar71xx_board_detect() {
 @@ -869,6 +869,9 @@ ar71xx_board_detect() {
@@ -73,7 +73,7 @@ index f242980..fcd0bc3 100755
  		name="tl-wr941nd"
  		name="tl-wr941nd"
  		;;
  		;;
 diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
 diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
-index d816f21..53284df 100755
+index d816f211891d6a259930f2781574504ea62b4e16..53284df5e2da19d8012361e9560244af898d3c2c 100755
 --- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
 --- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
 +++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
 +++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
 @@ -367,6 +367,7 @@ platform_check_image() {
 @@ -367,6 +367,7 @@ platform_check_image() {
@@ -85,7 +85,7 @@ index d816f21..53284df 100755
  	tl-wr941nd-v5 | \
  	tl-wr941nd-v5 | \
  	tl-wr941nd-v6 | \
  	tl-wr941nd-v6 | \
 diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wr841n-v9.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wr841n-v9.c
 diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wr841n-v9.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wr841n-v9.c
-index 004f719..ebaed15 100644
+index 004f71961396cd33cfd381aca386706104a7b757..ebaed15a49113133f59f069325898a00f5612fef 100644
 --- a/target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wr841n-v9.c
 --- a/target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wr841n-v9.c
 +++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wr841n-v9.c
 +++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wr841n-v9.c
 @@ -1,9 +1,16 @@
 @@ -1,9 +1,16 @@
@@ -217,7 +217,7 @@ index 004f719..ebaed15 100644
 +MIPS_MACHINE(ATH79_MACH_TL_WR842N_V3, "TL-WR842N-v3", "TP-LINK TL-WR842N/ND v3",
 +MIPS_MACHINE(ATH79_MACH_TL_WR842N_V3, "TL-WR842N-v3", "TP-LINK TL-WR842N/ND v3",
 +	     tl_wr842n_v3_setup);
 +	     tl_wr842n_v3_setup);
 diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile
 diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile
-index 05eea0b..d66bd25 100644
+index 05eea0b16c362ba5f70c9f435dbe312087b319c2..d66bd25fe01544224a69e3f35f020f2e4130c8b3 100644
 --- a/target/linux/ar71xx/image/Makefile
 --- a/target/linux/ar71xx/image/Makefile
 +++ b/target/linux/ar71xx/image/Makefile
 +++ b/target/linux/ar71xx/image/Makefile
 @@ -607,6 +607,13 @@ define Device/tl-wr842n-v2
 @@ -607,6 +607,13 @@ define Device/tl-wr842n-v2
@@ -244,7 +244,7 @@ index 05eea0b..d66bd25 100644
  define Device/tl-wr941nd-v5
  define Device/tl-wr941nd-v5
      $(Device/tplink-4mlzma)
      $(Device/tplink-4mlzma)
 diff --git a/target/linux/ar71xx/patches-3.18/610-MIPS-ath79-openwrt-machines.patch b/target/linux/ar71xx/patches-3.18/610-MIPS-ath79-openwrt-machines.patch
 diff --git a/target/linux/ar71xx/patches-3.18/610-MIPS-ath79-openwrt-machines.patch b/target/linux/ar71xx/patches-3.18/610-MIPS-ath79-openwrt-machines.patch
-index debde6e..d4b417b 100644
+index debde6e6a552e71b551d8c01ba06af03013407bf..d4b417bfb78606ddb84076ad8c927952e65118c2 100644
 --- a/target/linux/ar71xx/patches-3.18/610-MIPS-ath79-openwrt-machines.patch
 --- a/target/linux/ar71xx/patches-3.18/610-MIPS-ath79-openwrt-machines.patch
 +++ b/target/linux/ar71xx/patches-3.18/610-MIPS-ath79-openwrt-machines.patch
 +++ b/target/linux/ar71xx/patches-3.18/610-MIPS-ath79-openwrt-machines.patch
 @@ -1,6 +1,6 @@
 @@ -1,6 +1,6 @@

+ 1 - 1
patches/openwrt/0059-x86-generic-enable-CONFIG_SATA_VIA.patch

@@ -5,7 +5,7 @@ Subject: x86/generic: enable CONFIG_SATA_VIA
 This enables support for VIA SATA.
 This enables support for VIA SATA.
 
 
 diff --git a/target/linux/x86/generic/config-default b/target/linux/x86/generic/config-default
 diff --git a/target/linux/x86/generic/config-default b/target/linux/x86/generic/config-default
-index 9e963bf..4fc5131 100644
+index 9e963bf725b222dc94792dc8760f6f747cfffb78..4fc513154bd566319d77e6e42622ef362baeb094 100644
 --- a/target/linux/x86/generic/config-default
 --- a/target/linux/x86/generic/config-default
 +++ b/target/linux/x86/generic/config-default
 +++ b/target/linux/x86/generic/config-default
 @@ -174,6 +174,7 @@ CONFIG_PNP_DEBUG_MESSAGES=y
 @@ -174,6 +174,7 @@ CONFIG_PNP_DEBUG_MESSAGES=y

+ 1 - 1
patches/openwrt/0060-libpcap-fix-dependency-of-install-shared-so-make-target.patch

@@ -16,7 +16,7 @@ Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
 Backport of LEDE b82c8ddf8c15e91d6eecfd6d237606a4ce1f756f
 Backport of LEDE b82c8ddf8c15e91d6eecfd6d237606a4ce1f756f
 
 
 diff --git a/package/libs/libpcap/patches/100-debian_shared_lib.patch b/package/libs/libpcap/patches/100-debian_shared_lib.patch
 diff --git a/package/libs/libpcap/patches/100-debian_shared_lib.patch b/package/libs/libpcap/patches/100-debian_shared_lib.patch
-index b294e51..f8df7f3 100644
+index b294e51576f9b9f363fa0143bd0945f03f9d13cd..f8df7f3636cb62845930843a4b208fe4e91a54f2 100644
 --- a/package/libs/libpcap/patches/100-debian_shared_lib.patch
 --- a/package/libs/libpcap/patches/100-debian_shared_lib.patch
 +++ b/package/libs/libpcap/patches/100-debian_shared_lib.patch
 +++ b/package/libs/libpcap/patches/100-debian_shared_lib.patch
 @@ -97,7 +97,7 @@ build a shared library.
 @@ -97,7 +97,7 @@ build a shared library.

+ 1 - 1
patches/openwrt/0061-ar71xx-add-revision-detection-for-D-Link-DIR-505-A1-A2.patch

@@ -9,7 +9,7 @@ Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
 Backport of LEDE 500a67a167a256002f8ab05171f49dfb86b03260
 Backport of LEDE 500a67a167a256002f8ab05171f49dfb86b03260
 
 
 diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
 diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
-index fcd0bc3..20250e9 100755
+index fcd0bc35227de9b6a02c10c1bebf2413bdc555bf..20250e96fdcc1783f9b6818c340425206c67016f 100755
 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
 +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
 +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
 @@ -107,6 +107,15 @@ cybertan_get_hw_magic() {
 @@ -107,6 +107,15 @@ cybertan_get_hw_magic() {

+ 1 - 1
patches/openwrt/0062-ar71xx-don-t-use-D-Link-DIR-505-status-LED-as-ethernet-indicator.patch

@@ -12,7 +12,7 @@ Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
 Backport of LEDE adbbfb7ff900c489e6be34b2ec2834172dff7943
 Backport of LEDE adbbfb7ff900c489e6be34b2ec2834172dff7943
 
 
 diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
 diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
-index 14aa7bc..3d240fb 100644
+index 14aa7bc5e56c0d7be435ba3a1803416075eccb58..3d240fb076bf40b07e7f0b5974d7b5fd4435a044 100644
 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
 +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
 +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
 @@ -139,10 +139,6 @@ dhp-1565-a1)
 @@ -139,10 +139,6 @@ dhp-1565-a1)

+ 1 - 1
patches/openwrt/0063-ar71xx-cpe510-enable-LNA-for-CPE210-220-510-520.patch

@@ -10,7 +10,7 @@ Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
 Backport of LEDE 94e23bf7409d6cc4c9efb55ed32aba8e5a497966
 Backport of LEDE 94e23bf7409d6cc4c9efb55ed32aba8e5a497966
 
 
 diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-cpe510.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-cpe510.c
 diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-cpe510.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-cpe510.c
-index 8bf5c0f..5cb052a 100644
+index 8bf5c0f6226cbba10da10af4798b67b76db94e2b..5cb052a84aee451b9fbd449910acfde80dcf8aa7 100644
 --- a/target/linux/ar71xx/files/arch/mips/ath79/mach-cpe510.c
 --- a/target/linux/ar71xx/files/arch/mips/ath79/mach-cpe510.c
 +++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-cpe510.c
 +++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-cpe510.c
 @@ -30,6 +30,9 @@
 @@ -30,6 +30,9 @@

+ 8 - 8
patches/openwrt/0064-ar71xx-cpe510-split-profile-into-2-profiles-cpe210-and-cpe510.patch

@@ -10,7 +10,7 @@ Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
 Backport of LEDE c5ff273d85f69981e5b126eeaed3dee5b4061fb4
 Backport of LEDE c5ff273d85f69981e5b126eeaed3dee5b4061fb4
 
 
 diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/01_gpio-switches b/target/linux/ar71xx/base-files/etc/uci-defaults/01_gpio-switches
 diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/01_gpio-switches b/target/linux/ar71xx/base-files/etc/uci-defaults/01_gpio-switches
-index b41f275..0f7a415 100644
+index b41f27554b1e3eac19c22af59731771631a1135b..0f7a41589384755ff596d4355ad9fbf1e1087d91 100644
 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/01_gpio-switches
 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/01_gpio-switches
 +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/01_gpio-switches
 +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/01_gpio-switches
 @@ -15,6 +15,7 @@ nanostation-m)
 @@ -15,6 +15,7 @@ nanostation-m)
@@ -22,7 +22,7 @@ index b41f275..0f7a415 100644
  	ucidef_set_gpio_switch "poe_passthrough" "PoE Passthrough" "20"
  	ucidef_set_gpio_switch "poe_passthrough" "PoE Passthrough" "20"
  	;;
  	;;
 diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
 diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
-index 3d240fb..f1266d8 100644
+index 3d240fb076bf40b07e7f0b5974d7b5fd4435a044..f1266d88f1b6a441e58b0a008ca915a4b5958928 100644
 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
 +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
 +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
 @@ -78,6 +78,7 @@ carambola2)
 @@ -78,6 +78,7 @@ carambola2)
@@ -34,7 +34,7 @@ index 3d240fb..f1266d8 100644
  	ucidef_set_led_switch "lan0" "LAN0" "tp-link:green:lan0" "switch0" "0x20"
  	ucidef_set_led_switch "lan0" "LAN0" "tp-link:green:lan0" "switch0" "0x20"
  	ucidef_set_led_switch "lan1" "LAN1" "tp-link:green:lan1" "switch0" "0x10"
  	ucidef_set_led_switch "lan1" "LAN1" "tp-link:green:lan1" "switch0" "0x10"
 diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
 diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
-index ca9c577..6c3ecf5 100755
+index ca9c5771d72681557f4139c0e58f4d7a656bd741..6c3ecf54dccd111231d93e539346f7839252794c 100755
 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
 +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
 +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
 @@ -72,6 +72,7 @@ bsb)
 @@ -72,6 +72,7 @@ bsb)
@@ -46,7 +46,7 @@ index ca9c577..6c3ecf5 100755
  	ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
  	ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
  	ucidef_add_switch "switch0" "1" "1"
  	ucidef_add_switch "switch0" "1" "1"
 diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
 diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
-index 20250e9..0d8ccd2 100755
+index 20250e96fdcc1783f9b6818c340425206c67016f..0d8ccd21c3f552b7ae7aff6905a08ff6a4fdadf7 100755
 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
 +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
 +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
 @@ -447,7 +447,11 @@ ar71xx_board_detect() {
 @@ -447,7 +447,11 @@ ar71xx_board_detect() {
@@ -63,7 +63,7 @@ index 20250e9..0d8ccd2 100755
  		tplink_pharos_board_detect
  		tplink_pharos_board_detect
  		;;
  		;;
 diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
 diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
-index 53284df..4003b21 100755
+index 53284df5e2da19d8012361e9560244af898d3c2c..4003b21df26917a521ed96db82a970a82cdbc2cb 100755
 --- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
 --- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
 +++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
 +++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
 @@ -265,6 +265,7 @@ platform_check_image() {
 @@ -265,6 +265,7 @@ platform_check_image() {
@@ -75,7 +75,7 @@ index 53284df..4003b21 100755
  		tplink_pharos_check_image "$1" && return 0
  		tplink_pharos_check_image "$1" && return 0
  		return 1
  		return 1
 diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-cpe510.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-cpe510.c
 diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-cpe510.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-cpe510.c
-index 5cb052a..74daf43 100644
+index 5cb052a84aee451b9fbd449910acfde80dcf8aa7..74daf434e611d1f9d05f7d7516ae918d334b32b7 100644
 --- a/target/linux/ar71xx/files/arch/mips/ath79/mach-cpe510.c
 --- a/target/linux/ar71xx/files/arch/mips/ath79/mach-cpe510.c
 +++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-cpe510.c
 +++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-cpe510.c
 @@ -78,12 +78,8 @@ static struct gpio_keys_button cpe510_gpio_keys[] __initdata = {
 @@ -78,12 +78,8 @@ static struct gpio_keys_button cpe510_gpio_keys[] __initdata = {
@@ -126,7 +126,7 @@ index 5cb052a..74daf43 100644
 +MIPS_MACHINE(ATH79_MACH_CPE510, "CPE510", "TP-LINK CPE510/520",
 +MIPS_MACHINE(ATH79_MACH_CPE510, "CPE510", "TP-LINK CPE510/520",
  	     cpe510_setup);
  	     cpe510_setup);
 diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile
 diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile
-index d66bd25..75083f9 100644
+index d66bd25fe01544224a69e3f35f020f2e4130c8b3..75083f9b698ba8a438256209a34369eb626a3b3d 100644
 --- a/target/linux/ar71xx/image/Makefile
 --- a/target/linux/ar71xx/image/Makefile
 +++ b/target/linux/ar71xx/image/Makefile
 +++ b/target/linux/ar71xx/image/Makefile
 @@ -2111,7 +2111,8 @@ $(eval $(call SingleProfile,TPLINK-LZMA,64kraw,TLWR1043V2,tl-wr1043nd-v2,TL-WR10
 @@ -2111,7 +2111,8 @@ $(eval $(call SingleProfile,TPLINK-LZMA,64kraw,TLWR1043V2,tl-wr1043nd-v2,TL-WR10
@@ -148,7 +148,7 @@ index d66bd25..75083f9 100644
  $(eval $(call MultiProfile,UBNT,UBNTAIRROUTER UBNTRS UBNTRSPRO UBNTLSSR71 UBNTBULLETM UBNTROCKETM UBNTROCKETMXW UBNTNANOM UBNTNANOMXW UBNTLOCOXW UBNTUNIFI UBNTUNIFIOUTDOOR UBNTUNIFIOUTDOORPLUS UAPPRO UBNTAIRGW))
  $(eval $(call MultiProfile,UBNT,UBNTAIRROUTER UBNTRS UBNTRSPRO UBNTLSSR71 UBNTBULLETM UBNTROCKETM UBNTROCKETMXW UBNTNANOM UBNTNANOMXW UBNTLOCOXW UBNTUNIFI UBNTUNIFIOUTDOOR UBNTUNIFIOUTDOORPLUS UAPPRO UBNTAIRGW))
  $(eval $(call MultiProfile,WNR612V2,REALWNR612V2 N150R))
  $(eval $(call MultiProfile,WNR612V2,REALWNR612V2 N150R))
 diff --git a/target/linux/ar71xx/patches-3.18/610-MIPS-ath79-openwrt-machines.patch b/target/linux/ar71xx/patches-3.18/610-MIPS-ath79-openwrt-machines.patch
 diff --git a/target/linux/ar71xx/patches-3.18/610-MIPS-ath79-openwrt-machines.patch b/target/linux/ar71xx/patches-3.18/610-MIPS-ath79-openwrt-machines.patch
-index d4b417b..c83ac2e 100644
+index d4b417bfb78606ddb84076ad8c927952e65118c2..c83ac2e89324deda3135aab84e8c4f4112ea728d 100644
 --- a/target/linux/ar71xx/patches-3.18/610-MIPS-ath79-openwrt-machines.patch
 --- a/target/linux/ar71xx/patches-3.18/610-MIPS-ath79-openwrt-machines.patch
 +++ b/target/linux/ar71xx/patches-3.18/610-MIPS-ath79-openwrt-machines.patch
 +++ b/target/linux/ar71xx/patches-3.18/610-MIPS-ath79-openwrt-machines.patch
 @@ -1,6 +1,6 @@
 @@ -1,6 +1,6 @@

+ 1 - 1
patches/openwrt/0065-fw-utils-tplink-safeloader.c-Add-support-for-Archer-C2600.patch

@@ -7,7 +7,7 @@ Signed-off-by: Ash Benz <ash.benz@bk.ru>
 Backport of LEDE 955c341d3bec0eb4971a03924e99156367255d7b
 Backport of LEDE 955c341d3bec0eb4971a03924e99156367255d7b
 
 
 diff --git a/tools/firmware-utils/src/tplink-safeloader.c b/tools/firmware-utils/src/tplink-safeloader.c
 diff --git a/tools/firmware-utils/src/tplink-safeloader.c b/tools/firmware-utils/src/tplink-safeloader.c
-index 77a894b..2e204aa 100644
+index 77a894b237281f6211dd1123ead4b5b0f2f58370..2e204aa2335e55515a60a1f5c08ca1b499eb9287 100644
 --- a/tools/firmware-utils/src/tplink-safeloader.c
 --- a/tools/firmware-utils/src/tplink-safeloader.c
 +++ b/tools/firmware-utils/src/tplink-safeloader.c
 +++ b/tools/firmware-utils/src/tplink-safeloader.c
 @@ -105,6 +105,8 @@ static const uint8_t md5_salt[16] = {
 @@ -105,6 +105,8 @@ static const uint8_t md5_salt[16] = {

+ 2 - 2
patches/openwrt/0066-tools-tplink-safeloader-split-CPE210-from-CPE510-profile.patch

@@ -12,7 +12,7 @@ Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
 Backport of LEDE 824147960569f2c1cd22140c9074c62c3df911a5
 Backport of LEDE 824147960569f2c1cd22140c9074c62c3df911a5
 
 
 diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile
 diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile
-index 75083f9..bb2bb94 100644
+index 75083f9b698ba8a438256209a34369eb626a3b3d..bb2bb94e04ee8f59db62907ace49952061b411dc 100644
 --- a/target/linux/ar71xx/image/Makefile
 --- a/target/linux/ar71xx/image/Makefile
 +++ b/target/linux/ar71xx/image/Makefile
 +++ b/target/linux/ar71xx/image/Makefile
 @@ -2111,7 +2111,7 @@ $(eval $(call SingleProfile,TPLINK-LZMA,64kraw,TLWR1043V2,tl-wr1043nd-v2,TL-WR10
 @@ -2111,7 +2111,7 @@ $(eval $(call SingleProfile,TPLINK-LZMA,64kraw,TLWR1043V2,tl-wr1043nd-v2,TL-WR10
@@ -25,7 +25,7 @@ index 75083f9..bb2bb94 100644
  
  
  $(eval $(call SingleProfile,UAPPRO,64k,UAPPRO,ubnt-uap-pro,UAP-PRO,ttyS0,115200,BZ,BZ,ar934x))
  $(eval $(call SingleProfile,UAPPRO,64k,UAPPRO,ubnt-uap-pro,UAP-PRO,ttyS0,115200,BZ,BZ,ar934x))
 diff --git a/tools/firmware-utils/src/tplink-safeloader.c b/tools/firmware-utils/src/tplink-safeloader.c
 diff --git a/tools/firmware-utils/src/tplink-safeloader.c b/tools/firmware-utils/src/tplink-safeloader.c
-index 2e204aa..4938f74 100644
+index 2e204aa2335e55515a60a1f5c08ca1b499eb9287..4938f74eecd122265072390e1c6b8cadb09844d0 100644
 --- a/tools/firmware-utils/src/tplink-safeloader.c
 --- a/tools/firmware-utils/src/tplink-safeloader.c
 +++ b/tools/firmware-utils/src/tplink-safeloader.c
 +++ b/tools/firmware-utils/src/tplink-safeloader.c
 @@ -163,6 +163,15 @@ static const struct flash_partition_entry c2600_partitions[] = {
 @@ -163,6 +163,15 @@ static const struct flash_partition_entry c2600_partitions[] = {

+ 11 - 11
patches/openwrt/0067-dropbear-update-to-LEDE-277f85c21ae0ede4e15e66cbd801b9fb502531df.patch

@@ -9,7 +9,7 @@ The patches 600-allow-blank-root-password.patch and
 allowing password-less root login.
 allowing password-less root login.
 
 
 diff --git a/package/network/services/dropbear/Config.in b/package/network/services/dropbear/Config.in
 diff --git a/package/network/services/dropbear/Config.in b/package/network/services/dropbear/Config.in
-index e2a7610..7c2edd7 100644
+index e2a761034fa64225439db4a18030dee75fb0775c..7c2edd79f23708f9ef01c6a62a54073b0c7a33ed 100644
 --- a/package/network/services/dropbear/Config.in
 --- a/package/network/services/dropbear/Config.in
 +++ b/package/network/services/dropbear/Config.in
 +++ b/package/network/services/dropbear/Config.in
 @@ -1,6 +1,15 @@
 @@ -1,6 +1,15 @@
@@ -60,7 +60,7 @@ index e2a7610..7c2edd7 100644
  
  
  endmenu
  endmenu
 diff --git a/package/network/services/dropbear/Makefile b/package/network/services/dropbear/Makefile
 diff --git a/package/network/services/dropbear/Makefile b/package/network/services/dropbear/Makefile
-index 35958d3..36bcb4a 100644
+index 35958d332cd0c9796ba50c433b13a3e24cd4441c..36bcb4ab7b6c57460cd15da1bcc130af62e32bc6 100644
 --- a/package/network/services/dropbear/Makefile
 --- a/package/network/services/dropbear/Makefile
 +++ b/package/network/services/dropbear/Makefile
 +++ b/package/network/services/dropbear/Makefile
 @@ -1,5 +1,5 @@
 @@ -1,5 +1,5 @@
@@ -170,7 +170,7 @@ index 35958d3..36bcb4a 100644
  
  
  define Package/dropbearconvert/install
  define Package/dropbearconvert/install
 diff --git a/package/network/services/dropbear/files/dropbear.init b/package/network/services/dropbear/files/dropbear.init
 diff --git a/package/network/services/dropbear/files/dropbear.init b/package/network/services/dropbear/files/dropbear.init
-index 6de0142..1653efb 100755
+index 6de0142728dfa127652ecceef1d25080069d800a..1653efbdb38b1037c3630595b903c839887a4e52 100755
 --- a/package/network/services/dropbear/files/dropbear.init
 --- a/package/network/services/dropbear/files/dropbear.init
 +++ b/package/network/services/dropbear/files/dropbear.init
 +++ b/package/network/services/dropbear/files/dropbear.init
 @@ -37,7 +37,6 @@ validate_section_dropbear()
 @@ -37,7 +37,6 @@ validate_section_dropbear()
@@ -251,7 +251,7 @@ index 6de0142..1653efb 100755
  }
  }
  
  
 diff --git a/package/network/services/dropbear/patches/100-pubkey_path.patch b/package/network/services/dropbear/patches/100-pubkey_path.patch
 diff --git a/package/network/services/dropbear/patches/100-pubkey_path.patch b/package/network/services/dropbear/patches/100-pubkey_path.patch
-index 456874b..41fdc1a 100644
+index 456874b730272f157bd3f4b2e9f65e14eda49b0b..41fdc1adab96cf9efffa8593000336c504fdf6fb 100644
 --- a/package/network/services/dropbear/patches/100-pubkey_path.patch
 --- a/package/network/services/dropbear/patches/100-pubkey_path.patch
 +++ b/package/network/services/dropbear/patches/100-pubkey_path.patch
 +++ b/package/network/services/dropbear/patches/100-pubkey_path.patch
 @@ -1,6 +1,6 @@
 @@ -1,6 +1,6 @@
@@ -272,7 +272,7 @@ index 456874b..41fdc1a 100644
   	}
   	}
   
   
 diff --git a/package/network/services/dropbear/patches/110-change_user.patch b/package/network/services/dropbear/patches/110-change_user.patch
 diff --git a/package/network/services/dropbear/patches/110-change_user.patch b/package/network/services/dropbear/patches/110-change_user.patch
-index 7982af6..4b5c1cb 100644
+index 7982af631539e351d3d46f50541115f9311612db..4b5c1cb51bb16a7229c03b6298796769e5752f6b 100644
 --- a/package/network/services/dropbear/patches/110-change_user.patch
 --- a/package/network/services/dropbear/patches/110-change_user.patch
 +++ b/package/network/services/dropbear/patches/110-change_user.patch
 +++ b/package/network/services/dropbear/patches/110-change_user.patch
 @@ -1,6 +1,6 @@
 @@ -1,6 +1,6 @@
@@ -284,7 +284,7 @@ index 7982af6..4b5c1cb 100644
   	if (getuid() == 0) {
   	if (getuid() == 0) {
   
   
 diff --git a/package/network/services/dropbear/patches/120-openwrt_options.patch b/package/network/services/dropbear/patches/120-openwrt_options.patch
 diff --git a/package/network/services/dropbear/patches/120-openwrt_options.patch b/package/network/services/dropbear/patches/120-openwrt_options.patch
-index 48dae73..f16aaf0 100644
+index 48dae73b1f7bcb052172f0a8d22d06203c80f993..f16aaf001eee11811be81fa1db399cf117e66595 100644
 --- a/package/network/services/dropbear/patches/120-openwrt_options.patch
 --- a/package/network/services/dropbear/patches/120-openwrt_options.patch
 +++ b/package/network/services/dropbear/patches/120-openwrt_options.patch
 +++ b/package/network/services/dropbear/patches/120-openwrt_options.patch
 @@ -18,7 +18,28 @@
 @@ -18,7 +18,28 @@
@@ -346,7 +346,7 @@ index 48dae73..f16aaf0 100644
    * SSH_ASKPASS instead. Comment out this var to remove this functionality.*/
    * SSH_ASKPASS instead. Comment out this var to remove this functionality.*/
 diff --git a/package/network/services/dropbear/patches/130-ssh_ignore_o_and_x_args.patch b/package/network/services/dropbear/patches/130-ssh_ignore_o_and_x_args.patch
 diff --git a/package/network/services/dropbear/patches/130-ssh_ignore_o_and_x_args.patch b/package/network/services/dropbear/patches/130-ssh_ignore_o_and_x_args.patch
 deleted file mode 100644
 deleted file mode 100644
-index edb2909..0000000
+index edb29093aece5423554ccd406e34b41466c25511..0000000000000000000000000000000000000000
 --- a/package/network/services/dropbear/patches/130-ssh_ignore_o_and_x_args.patch
 --- a/package/network/services/dropbear/patches/130-ssh_ignore_o_and_x_args.patch
 +++ /dev/null
 +++ /dev/null
 @@ -1,21 +0,0 @@
 @@ -1,21 +0,0 @@
@@ -373,7 +373,7 @@ index edb2909..0000000
 - 				default:
 - 				default:
 diff --git a/package/network/services/dropbear/patches/130-ssh_ignore_x_args.patch b/package/network/services/dropbear/patches/130-ssh_ignore_x_args.patch
 diff --git a/package/network/services/dropbear/patches/130-ssh_ignore_x_args.patch b/package/network/services/dropbear/patches/130-ssh_ignore_x_args.patch
 new file mode 100644
 new file mode 100644
-index 0000000..ab09c2f
+index 0000000000000000000000000000000000000000..ab09c2f3dc3a253fd18acae8d7d3b4b0f668e3dd
 --- /dev/null
 --- /dev/null
 +++ b/package/network/services/dropbear/patches/130-ssh_ignore_x_args.patch
 +++ b/package/network/services/dropbear/patches/130-ssh_ignore_x_args.patch
 @@ -0,0 +1,11 @@
 @@ -0,0 +1,11 @@
@@ -389,7 +389,7 @@ index 0000000..ab09c2f
 + 				case 'e':
 + 				case 'e':
 + #ifndef ENABLE_USER_ALGO_LIST
 + #ifndef ENABLE_USER_ALGO_LIST
 diff --git a/package/network/services/dropbear/patches/140-disable_assert.patch b/package/network/services/dropbear/patches/140-disable_assert.patch
 diff --git a/package/network/services/dropbear/patches/140-disable_assert.patch b/package/network/services/dropbear/patches/140-disable_assert.patch
-index 0717228..78b54ac 100644
+index 0717228ef3de0576967b3824ca9709f95a326f61..78b54acfa0f52a4abbae497ed57a04cca7368c41 100644
 --- a/package/network/services/dropbear/patches/140-disable_assert.patch
 --- a/package/network/services/dropbear/patches/140-disable_assert.patch
 +++ b/package/network/services/dropbear/patches/140-disable_assert.patch
 +++ b/package/network/services/dropbear/patches/140-disable_assert.patch
 @@ -1,6 +1,6 @@
 @@ -1,6 +1,6 @@
@@ -401,7 +401,7 @@ index 0717228..78b54ac 100644
   
   
   /* Dropbear assertion */
   /* Dropbear assertion */
 diff --git a/package/network/services/dropbear/patches/150-dbconvert_standalone.patch b/package/network/services/dropbear/patches/150-dbconvert_standalone.patch
 diff --git a/package/network/services/dropbear/patches/150-dbconvert_standalone.patch b/package/network/services/dropbear/patches/150-dbconvert_standalone.patch
-index 367dc2c..ccc2cb7 100644
+index 367dc2c68122f382273464fc7bf570fde18386ab..ccc2cb792598de77b4db6aa7b7b46e8eb7bf93a5 100644
 --- a/package/network/services/dropbear/patches/150-dbconvert_standalone.patch
 --- a/package/network/services/dropbear/patches/150-dbconvert_standalone.patch
 +++ b/package/network/services/dropbear/patches/150-dbconvert_standalone.patch
 +++ b/package/network/services/dropbear/patches/150-dbconvert_standalone.patch
 @@ -1,8 +1,8 @@
 @@ -1,8 +1,8 @@
@@ -416,7 +416,7 @@ index 367dc2c..ccc2cb7 100644
  +#if !defined(DROPBEAR_CLIENT) && !defined(DROPBEAR_SERVER)
  +#if !defined(DROPBEAR_CLIENT) && !defined(DROPBEAR_SERVER)
  +#define DROPBEAR_SERVER
  +#define DROPBEAR_SERVER
 diff --git a/package/network/services/dropbear/patches/500-set-default-path.patch b/package/network/services/dropbear/patches/500-set-default-path.patch
 diff --git a/package/network/services/dropbear/patches/500-set-default-path.patch b/package/network/services/dropbear/patches/500-set-default-path.patch
-index e2add94..da6b9ae 100644
+index e2add9415fd4e7884a007ce7337ee8026bcc62a7..da6b9ae0ce0ae6a270f8c7bc6152cf09efbee15d 100644
 --- a/package/network/services/dropbear/patches/500-set-default-path.patch
 --- a/package/network/services/dropbear/patches/500-set-default-path.patch
 +++ b/package/network/services/dropbear/patches/500-set-default-path.patch
 +++ b/package/network/services/dropbear/patches/500-set-default-path.patch
 @@ -1,11 +1,12 @@
 @@ -1,11 +1,12 @@

+ 7 - 7
patches/openwrt/0068-ar71xx-Added-support-for-TL-WA801NDv3.patch

@@ -7,7 +7,7 @@ Signed-off-by: Tiziano Bacocco <tizbac2@gmail.com>
 Backport of OpenWrt r48705
 Backport of OpenWrt r48705
 
 
 diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
 diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
-index 6c3ecf5..027a671 100755
+index 6c3ecf54dccd111231d93e539346f7839252794c..027a671215e5acd70cee06620c6648506ad6be47 100755
 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
 +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
 +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
 @@ -377,6 +377,7 @@ wp543)
 @@ -377,6 +377,7 @@ wp543)
@@ -19,7 +19,7 @@ index 6c3ecf5..027a671 100755
  	ucidef_set_interface_lan "eth1"
  	ucidef_set_interface_lan "eth1"
  	;;
  	;;
 diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
 diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
-index 0d8ccd2..5928439 100755
+index 0d8ccd21c3f552b7ae7aff6905a08ff6a4fdadf7..5928439f3ae253fc15eeb2ac30451ff467411e88 100755
 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
 +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
 +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
 @@ -838,6 +838,9 @@ ar71xx_board_detect() {
 @@ -838,6 +838,9 @@ ar71xx_board_detect() {
@@ -33,7 +33,7 @@ index 0d8ccd2..5928439 100755
  		name="tl-wa901nd"
  		name="tl-wa901nd"
  		;;
  		;;
 diff --git a/target/linux/ar71xx/config-3.18 b/target/linux/ar71xx/config-3.18
 diff --git a/target/linux/ar71xx/config-3.18 b/target/linux/ar71xx/config-3.18
-index d4d9273..d7cbe2e 100644
+index d4d92738d0ab010e1d43ebed0baef34fd9bc3f9d..d7cbe2e79af31a0ff88d946323e237f3215620a0 100644
 --- a/target/linux/ar71xx/config-3.18
 --- a/target/linux/ar71xx/config-3.18
 +++ b/target/linux/ar71xx/config-3.18
 +++ b/target/linux/ar71xx/config-3.18
 @@ -120,6 +120,7 @@ CONFIG_ATH79_MACH_TL_MR3020=y
 @@ -120,6 +120,7 @@ CONFIG_ATH79_MACH_TL_MR3020=y
@@ -46,7 +46,7 @@ index d4d9273..d7cbe2e 100644
  CONFIG_ATH79_MACH_TL_WA901ND_V2=y
  CONFIG_ATH79_MACH_TL_WA901ND_V2=y
 diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wa801nd-v3.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wa801nd-v3.c
 diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wa801nd-v3.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wa801nd-v3.c
 new file mode 100644
 new file mode 100644
-index 0000000..39cdb10
+index 0000000000000000000000000000000000000000..39cdb10ee340650bc69e4f6054b06a4ae7421e57
 --- /dev/null
 --- /dev/null
 +++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wa801nd-v3.c
 +++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wa801nd-v3.c
 @@ -0,0 +1,136 @@
 @@ -0,0 +1,136 @@
@@ -187,7 +187,7 @@ index 0000000..39cdb10
 +MIPS_MACHINE(ATH79_MACH_TL_WA801ND_V3, "TL-WA801ND-v3", "TP-LINK TL-WA801ND v3",
 +MIPS_MACHINE(ATH79_MACH_TL_WA801ND_V3, "TL-WA801ND-v3", "TP-LINK TL-WA801ND v3",
 +	     tl_wa801n_v3_setup);
 +	     tl_wa801n_v3_setup);
 diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile
 diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile
-index bb2bb94..868a502 100644
+index bb2bb94e04ee8f59db62907ace49952061b411dc..868a5021acb49878359497c90509de07faa3ca49 100644
 --- a/target/linux/ar71xx/image/Makefile
 --- a/target/linux/ar71xx/image/Makefile
 +++ b/target/linux/ar71xx/image/Makefile
 +++ b/target/linux/ar71xx/image/Makefile
 @@ -691,6 +691,13 @@ define Device/tl-wa801nd-v2
 @@ -691,6 +691,13 @@ define Device/tl-wa801nd-v2
@@ -214,7 +214,7 @@ index bb2bb94..868a502 100644
  define Device/tl-wa901nd-v3
  define Device/tl-wa901nd-v3
      $(Device/tplink-4mlzma)
      $(Device/tplink-4mlzma)
 diff --git a/target/linux/ar71xx/patches-3.18/610-MIPS-ath79-openwrt-machines.patch b/target/linux/ar71xx/patches-3.18/610-MIPS-ath79-openwrt-machines.patch
 diff --git a/target/linux/ar71xx/patches-3.18/610-MIPS-ath79-openwrt-machines.patch b/target/linux/ar71xx/patches-3.18/610-MIPS-ath79-openwrt-machines.patch
-index c83ac2e..d23f0cf 100644
+index c83ac2e89324deda3135aab84e8c4f4112ea728d..d23f0cf33e50da891e7135861f1defda047ff2c8 100644
 --- a/target/linux/ar71xx/patches-3.18/610-MIPS-ath79-openwrt-machines.patch
 --- a/target/linux/ar71xx/patches-3.18/610-MIPS-ath79-openwrt-machines.patch
 +++ b/target/linux/ar71xx/patches-3.18/610-MIPS-ath79-openwrt-machines.patch
 +++ b/target/linux/ar71xx/patches-3.18/610-MIPS-ath79-openwrt-machines.patch
 @@ -1,6 +1,6 @@
 @@ -1,6 +1,6 @@
@@ -537,7 +537,7 @@ index c83ac2e..d23f0cf 100644
  +obj-$(CONFIG_ATH79_MACH_TL_WA901ND_V2)	+= mach-tl-wa901nd-v2.o
  +obj-$(CONFIG_ATH79_MACH_TL_WA901ND_V2)	+= mach-tl-wa901nd-v2.o
  +obj-$(CONFIG_ATH79_MACH_TL_WDR3500)     += mach-tl-wdr3500.o
  +obj-$(CONFIG_ATH79_MACH_TL_WDR3500)     += mach-tl-wdr3500.o
 diff --git a/tools/firmware-utils/src/mktplinkfw.c b/tools/firmware-utils/src/mktplinkfw.c
 diff --git a/tools/firmware-utils/src/mktplinkfw.c b/tools/firmware-utils/src/mktplinkfw.c
-index 6df869d..9785a3f 100644
+index 6df869d59a6138d4c0dd1fbec5337a71c31eccd3..9785a3f232ed4457e77aee249c0da86b4e99c532 100644
 --- a/tools/firmware-utils/src/mktplinkfw.c
 --- a/tools/firmware-utils/src/mktplinkfw.c
 +++ b/tools/firmware-utils/src/mktplinkfw.c
 +++ b/tools/firmware-utils/src/mktplinkfw.c
 @@ -50,6 +50,7 @@
 @@ -50,6 +50,7 @@

+ 2 - 2
patches/openwrt/0069-firmware-utils-mktplinkfw-backport-from-LEDE-a4fc62bc0ea4010ddbfbd738453c9db70988a57c.patch

@@ -3,7 +3,7 @@ Date: Sun, 28 Aug 2016 20:20:35 +0200
 Subject: firmware-utils: mktplinkfw: backport from LEDE a4fc62bc0ea4010ddbfbd738453c9db70988a57c
 Subject: firmware-utils: mktplinkfw: backport from LEDE a4fc62bc0ea4010ddbfbd738453c9db70988a57c
 
 
 diff --git a/tools/firmware-utils/Makefile b/tools/firmware-utils/Makefile
 diff --git a/tools/firmware-utils/Makefile b/tools/firmware-utils/Makefile
-index 0397845..aee8e87 100644
+index 03978456636ad50fc8128c0a5a51845135301a3d..aee8e87a1c0839f3220686e97cd8458516fc17cf 100644
 --- a/tools/firmware-utils/Makefile
 --- a/tools/firmware-utils/Makefile
 +++ b/tools/firmware-utils/Makefile
 +++ b/tools/firmware-utils/Makefile
 @@ -40,7 +40,7 @@ define Host/Compile
 @@ -40,7 +40,7 @@ define Host/Compile
@@ -16,7 +16,7 @@ index 0397845..aee8e87 100644
  	$(call cc,tplink-safeloader md5, -Wall)
  	$(call cc,tplink-safeloader md5, -Wall)
  	$(call cc,pc1crypt)
  	$(call cc,pc1crypt)
 diff --git a/tools/firmware-utils/src/mktplinkfw.c b/tools/firmware-utils/src/mktplinkfw.c
 diff --git a/tools/firmware-utils/src/mktplinkfw.c b/tools/firmware-utils/src/mktplinkfw.c
-index 9785a3f..34e6546 100644
+index 9785a3f232ed4457e77aee249c0da86b4e99c532..34e6546a2d7db72748146ef233830c2e8de9ce97 100644
 --- a/tools/firmware-utils/src/mktplinkfw.c
 --- a/tools/firmware-utils/src/mktplinkfw.c
 +++ b/tools/firmware-utils/src/mktplinkfw.c
 +++ b/tools/firmware-utils/src/mktplinkfw.c
 @@ -28,53 +28,10 @@
 @@ -28,53 +28,10 @@

+ 1 - 1
patches/openwrt/0070-ar71xx-backport-support-for-new-TP-Link-region-codes.patch

@@ -6,7 +6,7 @@ Generate flashable images for the Archer C7 v2 with current stock firmware
 again.
 again.
 
 
 diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile
 diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile
-index 868a502..95f6d46 100644
+index 868a5021acb49878359497c90509de07faa3ca49..95f6d46d15b43faabb0bbf9301476d3ea5bee470 100644
 --- a/target/linux/ar71xx/image/Makefile
 --- a/target/linux/ar71xx/image/Makefile
 +++ b/target/linux/ar71xx/image/Makefile
 +++ b/target/linux/ar71xx/image/Makefile
 @@ -58,13 +58,14 @@ define Build/mktplinkfw
 @@ -58,13 +58,14 @@ define Build/mktplinkfw

+ 1 - 1
patches/openwrt/0071-ath10k-firmware-add-ath10k-firmware-qca988x-11s.patch

@@ -3,7 +3,7 @@ Date: Fri, 9 Sep 2016 01:54:44 +0200
 Subject: ath10k-firmware: add ath10k-firmware-qca988x-11s
 Subject: ath10k-firmware: add ath10k-firmware-qca988x-11s
 
 
 diff --git a/package/firmware/ath10k-firmware/Makefile b/package/firmware/ath10k-firmware/Makefile
 diff --git a/package/firmware/ath10k-firmware/Makefile b/package/firmware/ath10k-firmware/Makefile
-index 624da6a..3a4f0c5 100644
+index 624da6a1ed43ea37bbb3409b3dbe4b3af01263b5..3a4f0c59eb89a32f78f0104d2420b921d6660ddc 100644
 --- a/package/firmware/ath10k-firmware/Makefile
 --- a/package/firmware/ath10k-firmware/Makefile
 +++ b/package/firmware/ath10k-firmware/Makefile
 +++ b/package/firmware/ath10k-firmware/Makefile
 @@ -8,7 +8,7 @@
 @@ -8,7 +8,7 @@

+ 2 - 2
patches/openwrt/0072-ath9k-revert-temperature-compensation-support-patch-FS-111.patch

@@ -8,7 +8,7 @@ Backport of LEDE 3e4d0e3e77dcf9b2116e5ed53f30e2bf53b1c6b7
 
 
 diff --git a/package/kernel/mac80211/patches/328-ath9k_hw-implement-temperature-compensation-support-.patch b/package/kernel/mac80211/patches/328-ath9k_hw-implement-temperature-compensation-support-.patch
 diff --git a/package/kernel/mac80211/patches/328-ath9k_hw-implement-temperature-compensation-support-.patch b/package/kernel/mac80211/patches/328-ath9k_hw-implement-temperature-compensation-support-.patch
 deleted file mode 100644
 deleted file mode 100644
-index cff32ad..0000000
+index cff32ad47cb0b905d9cfa4eb021258b644b2a47a..0000000000000000000000000000000000000000
 --- a/package/kernel/mac80211/patches/328-ath9k_hw-implement-temperature-compensation-support-.patch
 --- a/package/kernel/mac80211/patches/328-ath9k_hw-implement-temperature-compensation-support-.patch
 +++ /dev/null
 +++ /dev/null
 @@ -1,97 +0,0 @@
 @@ -1,97 +0,0 @@
@@ -110,7 +110,7 @@ index cff32ad..0000000
 - 	struct ath9k_cal_list adcdc_caldata;
 - 	struct ath9k_cal_list adcdc_caldata;
 - 	struct ath9k_cal_list *cal_list;
 - 	struct ath9k_cal_list *cal_list;
 diff --git a/package/kernel/mac80211/patches/542-ath9k_debugfs_diag.patch b/package/kernel/mac80211/patches/542-ath9k_debugfs_diag.patch
 diff --git a/package/kernel/mac80211/patches/542-ath9k_debugfs_diag.patch b/package/kernel/mac80211/patches/542-ath9k_debugfs_diag.patch
-index 4615643..6edef09 100644
+index 461564350feb43410e5c702a8a67514cdfaa3961..6edef0975431165285a7b937442b5d89b362c807 100644
 --- a/package/kernel/mac80211/patches/542-ath9k_debugfs_diag.patch
 --- a/package/kernel/mac80211/patches/542-ath9k_debugfs_diag.patch
 +++ b/package/kernel/mac80211/patches/542-ath9k_debugfs_diag.patch
 +++ b/package/kernel/mac80211/patches/542-ath9k_debugfs_diag.patch
 @@ -84,7 +84,7 @@
 @@ -84,7 +84,7 @@

+ 1 - 1
patches/openwrt/0073-ath9k-remove-intermediate-queueing-patch-until-it-is-fixed-properly.patch

@@ -8,7 +8,7 @@ Backport of LEDE 04a69843198f2252992812e35ac05016db4a1a94
 
 
 diff --git a/package/kernel/mac80211/patches/320-ath9k-Switch-to-using-mac80211-intermediate-software.patch b/package/kernel/mac80211/patches/320-ath9k-Switch-to-using-mac80211-intermediate-software.patch
 diff --git a/package/kernel/mac80211/patches/320-ath9k-Switch-to-using-mac80211-intermediate-software.patch b/package/kernel/mac80211/patches/320-ath9k-Switch-to-using-mac80211-intermediate-software.patch
 deleted file mode 100644
 deleted file mode 100644
-index f8b8f86..0000000
+index f8b8f86e03ba0786ef410db31d6de2ab691430bd..0000000000000000000000000000000000000000
 --- a/package/kernel/mac80211/patches/320-ath9k-Switch-to-using-mac80211-intermediate-software.patch
 --- a/package/kernel/mac80211/patches/320-ath9k-Switch-to-using-mac80211-intermediate-software.patch
 +++ /dev/null
 +++ /dev/null
 @@ -1,871 +0,0 @@
 @@ -1,871 +0,0 @@

+ 1 - 1
patches/openwrt/0074-ar71xx-set-EU-region-code-for-TP-Link-TL-WA901ND-v4.patch

@@ -16,7 +16,7 @@ Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
 Backport of LEDE 83f7ec31f8f9641ef842212c45db61b72682debf
 Backport of LEDE 83f7ec31f8f9641ef842212c45db61b72682debf
 
 
 diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile
 diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile
-index 95f6d46..9ac1d60 100644
+index 95f6d46d15b43faabb0bbf9301476d3ea5bee470..9ac1d60078cf108276d6f29c42bdb738fab6ad9d 100644
 --- a/target/linux/ar71xx/image/Makefile
 --- a/target/linux/ar71xx/image/Makefile
 +++ b/target/linux/ar71xx/image/Makefile
 +++ b/target/linux/ar71xx/image/Makefile
 @@ -736,6 +736,7 @@ define Device/tl-wa901nd-v4
 @@ -736,6 +736,7 @@ define Device/tl-wa901nd-v4

+ 1 - 1
patches/openwrt/0075-ar71xx-fix-syntax-error-in-etc-uci-defaults-01_leds.patch

@@ -7,7 +7,7 @@ Fixes f98117a "CC: ar71xx: backport LED fix for TL-WR841N-v11".
 Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
 Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
 
 
 diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
 diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
-index f1266d8..87d6fcc 100644
+index f1266d88f1b6a441e58b0a008ca915a4b5958928..87d6fcc4d74571ca98acc53ae76ea6f305d8c8c6 100644
 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
 +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
 +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
 @@ -500,7 +500,7 @@ tl-wa830re-v2)
 @@ -500,7 +500,7 @@ tl-wa830re-v2)

+ 1 - 1
patches/openwrt/0076-ar71xx-generate-region-coded-factory-images-for-TP-Link-TL-WR841ND-v11.patch

@@ -11,7 +11,7 @@ Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
 Backport of LEDE 9cac5e8be014b89326880ae5d7b885013614e0ca
 Backport of LEDE 9cac5e8be014b89326880ae5d7b885013614e0ca
 
 
 diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile
 diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile
-index 9ac1d60..6346eb9 100644
+index 9ac1d60078cf108276d6f29c42bdb738fab6ad9d..6346eb9ffa6c9bbeb1eaa5de229cf69ce12c1f83 100644
 --- a/target/linux/ar71xx/image/Makefile
 --- a/target/linux/ar71xx/image/Makefile
 +++ b/target/linux/ar71xx/image/Makefile
 +++ b/target/linux/ar71xx/image/Makefile
 @@ -602,6 +602,9 @@ define Device/tl-wr841n-v11
 @@ -602,6 +602,9 @@ define Device/tl-wr841n-v11

+ 1 - 1
patches/openwrt/0077-x86-64-add-pata-drivers.patch

@@ -3,7 +3,7 @@ Date: Wed, 9 Nov 2016 04:39:16 +0100
 Subject: x86-64: add pata drivers
 Subject: x86-64: add pata drivers
 
 
 diff --git a/target/linux/x86/64/config-default b/target/linux/x86/64/config-default
 diff --git a/target/linux/x86/64/config-default b/target/linux/x86/64/config-default
-index 1caad74..1fda585 100644
+index 1caad741a623e9481907dff59c37de8c173bb7d7..1fda58562c6821e8524d00617ed040d11ee731d7 100644
 --- a/target/linux/x86/64/config-default
 --- a/target/linux/x86/64/config-default
 +++ b/target/linux/x86/64/config-default
 +++ b/target/linux/x86/64/config-default
 @@ -131,6 +131,14 @@ CONFIG_PARAVIRT_CLOCK=y
 @@ -131,6 +131,14 @@ CONFIG_PARAVIRT_CLOCK=y

+ 2 - 2
patches/openwrt/0078-x86-add-mmc-drivers-to-generic-64.patch

@@ -3,7 +3,7 @@ Date: Wed, 9 Nov 2016 04:39:59 +0100
 Subject: x86: add mmc drivers to generic+64
 Subject: x86: add mmc drivers to generic+64
 
 
 diff --git a/target/linux/x86/64/config-default b/target/linux/x86/64/config-default
 diff --git a/target/linux/x86/64/config-default b/target/linux/x86/64/config-default
-index 1fda585..9d2cfdb 100644
+index 1fda58562c6821e8524d00617ed040d11ee731d7..9d2cfdbd9f7c2006b543599d398f2d5966f6333e 100644
 --- a/target/linux/x86/64/config-default
 --- a/target/linux/x86/64/config-default
 +++ b/target/linux/x86/64/config-default
 +++ b/target/linux/x86/64/config-default
 @@ -117,6 +117,14 @@ CONFIG_LPC_ICH=y
 @@ -117,6 +117,14 @@ CONFIG_LPC_ICH=y
@@ -22,7 +22,7 @@ index 1fda585..9d2cfdb 100644
  # CONFIG_MPSC is not set
  # CONFIG_MPSC is not set
  CONFIG_MUTEX_SPIN_ON_OWNER=y
  CONFIG_MUTEX_SPIN_ON_OWNER=y
 diff --git a/target/linux/x86/generic/config-default b/target/linux/x86/generic/config-default
 diff --git a/target/linux/x86/generic/config-default b/target/linux/x86/generic/config-default
-index 4fc5131..1d72811 100644
+index 4fc513154bd566319d77e6e42622ef362baeb094..1d72811f4b67225043513dec9173a79969c49313 100644
 --- a/target/linux/x86/generic/config-default
 --- a/target/linux/x86/generic/config-default
 +++ b/target/linux/x86/generic/config-default
 +++ b/target/linux/x86/generic/config-default
 @@ -136,6 +136,14 @@ CONFIG_ISO9660_FS=y
 @@ -136,6 +136,14 @@ CONFIG_ISO9660_FS=y

+ 1 - 1
patches/openwrt/0079-ath9k-fix-ath9k_hw_gpio_get-to-return-0-or-1-on-success.patch

@@ -8,7 +8,7 @@ Backport of LEDE a250556d27556ec94a8d800fd27be40c2de8139c
 
 
 diff --git a/package/kernel/mac80211/patches/331-ath9k-fix-ath9k_hw_gpio_get-to-return-0-or-1-on-succ.patch b/package/kernel/mac80211/patches/331-ath9k-fix-ath9k_hw_gpio_get-to-return-0-or-1-on-succ.patch
 diff --git a/package/kernel/mac80211/patches/331-ath9k-fix-ath9k_hw_gpio_get-to-return-0-or-1-on-succ.patch b/package/kernel/mac80211/patches/331-ath9k-fix-ath9k_hw_gpio_get-to-return-0-or-1-on-succ.patch
 new file mode 100644
 new file mode 100644
-index 0000000..627b401
+index 0000000000000000000000000000000000000000..627b401300ad9fc0d5527ce9e7325c87b33e6313
 --- /dev/null
 --- /dev/null
 +++ b/package/kernel/mac80211/patches/331-ath9k-fix-ath9k_hw_gpio_get-to-return-0-or-1-on-succ.patch
 +++ b/package/kernel/mac80211/patches/331-ath9k-fix-ath9k_hw_gpio_get-to-return-0-or-1-on-succ.patch
 @@ -0,0 +1,29 @@
 @@ -0,0 +1,29 @@

+ 2 - 2
patches/openwrt/0080-ar71xx-ramips-reduce-CPU-load-and-flickering-on-devices-using-rsslieds.patch

@@ -12,7 +12,7 @@ Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
 Backport of LEDE 5247ac2f805e39afe2e6e30980e439ea8b8ae7f8
 Backport of LEDE 5247ac2f805e39afe2e6e30980e439ea8b8ae7f8
 
 
 diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
 diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
-index 87d6fcc..2a0f996 100644
+index 87d6fcc4d74571ca98acc53ae76ea6f305d8c8c6..2a0f9969cd22543de6e54a484052a27414c5d093 100644
 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
 +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
 +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
 @@ -18,14 +18,14 @@ alfa-nx)
 @@ -18,14 +18,14 @@ alfa-nx)
@@ -87,7 +87,7 @@ index 87d6fcc..2a0f996 100644
  	ucidef_set_led_rssi "signal2" "SIGNAL2" "alfa:orange:signal2" "wlan0" "26" "100" "-25" "13"
  	ucidef_set_led_rssi "signal2" "SIGNAL2" "alfa:orange:signal2" "wlan0" "26" "100" "-25" "13"
  	ucidef_set_led_rssi "signal3" "SIGNAL3" "alfa:green:signal3" "wlan0" "51" "100" "-50" "13"
  	ucidef_set_led_rssi "signal3" "SIGNAL3" "alfa:green:signal3" "wlan0" "51" "100" "-50" "13"
 diff --git a/target/linux/ramips/base-files/etc/board.d/01_leds b/target/linux/ramips/base-files/etc/board.d/01_leds
 diff --git a/target/linux/ramips/base-files/etc/board.d/01_leds b/target/linux/ramips/base-files/etc/board.d/01_leds
-index 5fb28a5..2b0341d 100755
+index 5fb28a52f7632bf09e7f62ff77dcd7254a2ebcc2..2b0341d3991e03e1f95376992b840ad10c41cdf4 100755
 --- a/target/linux/ramips/base-files/etc/board.d/01_leds
 --- a/target/linux/ramips/base-files/etc/board.d/01_leds
 +++ b/target/linux/ramips/base-files/etc/board.d/01_leds
 +++ b/target/linux/ramips/base-files/etc/board.d/01_leds
 @@ -40,7 +40,7 @@ case $board in
 @@ -40,7 +40,7 @@ case $board in

+ 1 - 1
patches/openwrt/0081-kernel-add-at803x-fix-for-sgmii-mode.patch

@@ -12,7 +12,7 @@ Bug-gluon: https://github.com/freifunk-gluon/gluon/issues/911
 
 
 diff --git a/target/linux/ar71xx/patches-3.18/735-net-phy-at803x-fix-at8033-sgmii-mode.patch b/target/linux/ar71xx/patches-3.18/735-net-phy-at803x-fix-at8033-sgmii-mode.patch
 diff --git a/target/linux/ar71xx/patches-3.18/735-net-phy-at803x-fix-at8033-sgmii-mode.patch b/target/linux/ar71xx/patches-3.18/735-net-phy-at803x-fix-at8033-sgmii-mode.patch
 new file mode 100644
 new file mode 100644
-index 0000000..4a8f532
+index 0000000000000000000000000000000000000000..4a8f532aa36f729339e01ebadd6ea3cb292d7ac9
 --- /dev/null
 --- /dev/null
 +++ b/target/linux/ar71xx/patches-3.18/735-net-phy-at803x-fix-at8033-sgmii-mode.patch
 +++ b/target/linux/ar71xx/patches-3.18/735-net-phy-at803x-fix-at8033-sgmii-mode.patch
 @@ -0,0 +1,96 @@
 @@ -0,0 +1,96 @@

+ 4 - 4
patches/openwrt/0082-ar71xx-fix-LEDs-and-sysupgrade-support-for-TL-WA801ND-v3.patch

@@ -5,7 +5,7 @@ Subject: ar71xx: fix LEDs and sysupgrade support for TL-WA801ND v3
 Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
 Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
 
 
 diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
 diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
-index 2c5d6af..6b0caa6 100644
+index 2c5d6af8f4e2c5ce71adc0b63d32b8506e01b6a2..6b0caa676e6fc23be94c5eae77ae72e76f07fec3 100644
 --- a/target/linux/ar71xx/base-files/etc/diag.sh
 --- a/target/linux/ar71xx/base-files/etc/diag.sh
 +++ b/target/linux/ar71xx/base-files/etc/diag.sh
 +++ b/target/linux/ar71xx/base-files/etc/diag.sh
 @@ -274,6 +274,7 @@ get_status_led() {
 @@ -274,6 +274,7 @@ get_status_led() {
@@ -17,7 +17,7 @@ index 2c5d6af..6b0caa6 100644
  	tl-wr841n-v7 | \
  	tl-wr841n-v7 | \
  	tl-wr841n-v8 | \
  	tl-wr841n-v8 | \
 diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
 diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
-index 2a0f996..849755f 100644
+index 2a0f9969cd22543de6e54a484052a27414c5d093..849755fb752c62a6fabf0ec609381b5d22991f1a 100644
 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
 +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
 +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
 @@ -536,6 +536,11 @@ tl-wa901nd-v3)
 @@ -536,6 +536,11 @@ tl-wa901nd-v3)
@@ -33,7 +33,7 @@ index 2a0f996..849755f 100644
  tl-wr1041n-v2)
  tl-wr1041n-v2)
  	ucidef_set_led_wlan "wlan" "WLAN" "tp-link:green:wlan" "phy0tpt"
  	ucidef_set_led_wlan "wlan" "WLAN" "tp-link:green:wlan" "phy0tpt"
 diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
 diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
-index 4003b21..ee2e596 100755
+index 4003b21df26917a521ed96db82a970a82cdbc2cb..ee2e596e1f5e462e544a919ca8ebca525e43cec9 100755
 --- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
 --- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
 +++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
 +++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
 @@ -349,6 +349,7 @@ platform_check_image() {
 @@ -349,6 +349,7 @@ platform_check_image() {
@@ -45,7 +45,7 @@ index 4003b21..ee2e596 100755
  	tl-wa901nd-v2 | \
  	tl-wa901nd-v2 | \
  	tl-wa901nd-v3 | \
  	tl-wa901nd-v3 | \
 diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wa801nd-v3.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wa801nd-v3.c
 diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wa801nd-v3.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wa801nd-v3.c
-index 39cdb10..054c14e 100644
+index 39cdb10ee340650bc69e4f6054b06a4ae7421e57..054c14ee73faf629e1faf1efb19e804734602981 100644
 --- a/target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wa801nd-v3.c
 --- a/target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wa801nd-v3.c
 +++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wa801nd-v3.c
 +++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wa801nd-v3.c
 @@ -24,7 +24,7 @@
 @@ -24,7 +24,7 @@

+ 1 - 1
patches/openwrt/0083-ar71xx-simplify-model-detection-for-TP-Link-Pharos-devices.patch

@@ -8,7 +8,7 @@ for each model explicitly.
 Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
 Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
 
 
 diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
 diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
-index 5928439..4a9a730 100755
+index 5928439f3ae253fc15eeb2ac30451ff467411e88..4a9a730caa3b7fa6321192812f407caf736f65a9 100755
 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
 +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
 +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
 @@ -329,24 +329,10 @@ tplink_pharos_get_model_string() {
 @@ -329,24 +329,10 @@ tplink_pharos_get_model_string() {

+ 1 - 1
patches/openwrt/0084-firmware-utils-tplink-safeloader-update-support-list-for-CPE210-510.patch

@@ -8,7 +8,7 @@ never actually used and have been removed from the stock firmwares.
 Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
 Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
 
 
 diff --git a/tools/firmware-utils/src/tplink-safeloader.c b/tools/firmware-utils/src/tplink-safeloader.c
 diff --git a/tools/firmware-utils/src/tplink-safeloader.c b/tools/firmware-utils/src/tplink-safeloader.c
-index 4938f74..4a38dff 100644
+index 4938f74eecd122265072390e1c6b8cadb09844d0..4a38dff10003825a3b72595d57f0e62ef233e9bc 100644
 --- a/tools/firmware-utils/src/tplink-safeloader.c
 --- a/tools/firmware-utils/src/tplink-safeloader.c
 +++ b/tools/firmware-utils/src/tplink-safeloader.c
 +++ b/tools/firmware-utils/src/tplink-safeloader.c
 @@ -169,8 +169,13 @@ static const char cpe210_support_list[] =
 @@ -169,8 +169,13 @@ static const char cpe210_support_list[] =

+ 12 - 12
patches/openwrt/0085-ar71xx-generic-add-Support-for-TP-LINK-TL-WR940N-v4.patch

@@ -5,7 +5,7 @@ Subject: ar71xx-generic: add Support for TP-LINK TL-WR940N v4
 Signed-off-by: David Lutz <kpanic@hirnduenger.de>
 Signed-off-by: David Lutz <kpanic@hirnduenger.de>
 
 
 diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
 diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
-index 6b0caa6..67043d4 100644
+index 6b0caa676e6fc23be94c5eae77ae72e76f07fec3..67043d432cf7a469bf1ded14bc354274ab16e3e6 100644
 --- a/target/linux/ar71xx/base-files/etc/diag.sh
 --- a/target/linux/ar71xx/base-files/etc/diag.sh
 +++ b/target/linux/ar71xx/base-files/etc/diag.sh
 +++ b/target/linux/ar71xx/base-files/etc/diag.sh
 @@ -296,6 +296,7 @@ get_status_led() {
 @@ -296,6 +296,7 @@ get_status_led() {
@@ -17,7 +17,7 @@ index 6b0caa6..67043d4 100644
  		status_led="tp-link:blue:system"
  		status_led="tp-link:blue:system"
  		;;
  		;;
 diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
 diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
-index 849755f..e47cbb0 100644
+index 849755fb752c62a6fabf0ec609381b5d22991f1a..e47cbb0b01ef4a335c059a74af66d9f8999b3b3d 100644
 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
 +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
 +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
 @@ -486,6 +486,7 @@ tl-wr941nd-v5)
 @@ -486,6 +486,7 @@ tl-wr941nd-v5)
@@ -29,7 +29,7 @@ index 849755f..e47cbb0 100644
  	ucidef_set_led_netdev "wan" "WAN" "tp-link:blue:wan" "eth0"
  	ucidef_set_led_netdev "wan" "WAN" "tp-link:blue:wan" "eth0"
  	ucidef_set_led_switch "lan1" "LAN1" "tp-link:blue:lan1" "switch0" "0x10"
  	ucidef_set_led_switch "lan1" "LAN1" "tp-link:blue:lan1" "switch0" "0x10"
 diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
 diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
-index 027a671..878623c 100755
+index 027a671215e5acd70cee06620c6648506ad6be47..878623ce3fd8b7c585da73c7bd72794a144096a3 100755
 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
 +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
 +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
 @@ -229,6 +229,7 @@ tl-wr841n-v8 |\
 @@ -229,6 +229,7 @@ tl-wr841n-v8 |\
@@ -41,7 +41,7 @@ index 027a671..878623c 100755
  wnr2000-v4 |\
  wnr2000-v4 |\
  wnr2200 |\
  wnr2200 |\
 diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
 diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
-index 4a9a730..6df0d8a 100755
+index 4a9a730caa3b7fa6321192812f407caf736f65a9..6df0d8a8d0d52c103b9ded2170af19a9a6b5f8bb 100755
 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
 +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
 +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
 @@ -235,6 +235,9 @@ tplink_board_detect() {
 @@ -235,6 +235,9 @@ tplink_board_detect() {
@@ -65,7 +65,7 @@ index 4a9a730..6df0d8a 100755
  		name="tl-wr703n"
  		name="tl-wr703n"
  		;;
  		;;
 diff --git a/target/linux/ar71xx/base-files/lib/preinit/05_set_preinit_iface_ar71xx b/target/linux/ar71xx/base-files/lib/preinit/05_set_preinit_iface_ar71xx
 diff --git a/target/linux/ar71xx/base-files/lib/preinit/05_set_preinit_iface_ar71xx b/target/linux/ar71xx/base-files/lib/preinit/05_set_preinit_iface_ar71xx
-index f552453..e5e4abd 100644
+index f552453e43363c5ab687116eee1889af8171dbb6..e5e4abd547f38ecda4a0cb67858df8f5d3477d59 100644
 --- a/target/linux/ar71xx/base-files/lib/preinit/05_set_preinit_iface_ar71xx
 --- a/target/linux/ar71xx/base-files/lib/preinit/05_set_preinit_iface_ar71xx
 +++ b/target/linux/ar71xx/base-files/lib/preinit/05_set_preinit_iface_ar71xx
 +++ b/target/linux/ar71xx/base-files/lib/preinit/05_set_preinit_iface_ar71xx
 @@ -36,6 +36,7 @@ set_preinit_iface() {
 @@ -36,6 +36,7 @@ set_preinit_iface() {
@@ -77,7 +77,7 @@ index f552453..e5e4abd 100644
  	wnr2200 |\
  	wnr2200 |\
  	wnr612-v2 |\
  	wnr612-v2 |\
 diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
 diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
-index ee2e596..76c252c 100755
+index ee2e596e1f5e462e544a919ca8ebca525e43cec9..76c252ccb14db970aac63ea1d2eaddca3d867867 100755
 --- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
 --- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
 +++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
 +++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
 @@ -373,6 +373,7 @@ platform_check_image() {
 @@ -373,6 +373,7 @@ platform_check_image() {
@@ -89,7 +89,7 @@ index ee2e596..76c252c 100755
  	tl-wr1043nd | \
  	tl-wr1043nd | \
  	tl-wr1043nd-v2 | \
  	tl-wr1043nd-v2 | \
 diff --git a/target/linux/ar71xx/config-3.18 b/target/linux/ar71xx/config-3.18
 diff --git a/target/linux/ar71xx/config-3.18 b/target/linux/ar71xx/config-3.18
-index d7cbe2e..0503626 100644
+index d7cbe2e79af31a0ff88d946323e237f3215620a0..050362614a464b56d3740a7954686fe4e5b37803 100644
 --- a/target/linux/ar71xx/config-3.18
 --- a/target/linux/ar71xx/config-3.18
 +++ b/target/linux/ar71xx/config-3.18
 +++ b/target/linux/ar71xx/config-3.18
 @@ -141,6 +141,7 @@ CONFIG_ATH79_MACH_TL_WR841N_V8=y
 @@ -141,6 +141,7 @@ CONFIG_ATH79_MACH_TL_WR841N_V8=y
@@ -102,7 +102,7 @@ index d7cbe2e..0503626 100644
  CONFIG_ATH79_MACH_UBNT_UNIFIAC=y
  CONFIG_ATH79_MACH_UBNT_UNIFIAC=y
 diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wr940n-v4.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wr940n-v4.c
 diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wr940n-v4.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wr940n-v4.c
 new file mode 100644
 new file mode 100644
-index 0000000..d693b94
+index 0000000000000000000000000000000000000000..d693b947c843d2a74cd252503fa8bf68b20da4ab
 --- /dev/null
 --- /dev/null
 +++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wr940n-v4.c
 +++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wr940n-v4.c
 @@ -0,0 +1,149 @@
 @@ -0,0 +1,149 @@
@@ -256,7 +256,7 @@ index 0000000..d693b94
 +MIPS_MACHINE(ATH79_MACH_TL_WR940N_V4, "TL-WR940N-v4", "TP-LINK TL-WR940N v4",
 +MIPS_MACHINE(ATH79_MACH_TL_WR940N_V4, "TL-WR940N-v4", "TP-LINK TL-WR940N v4",
 +	     tl_wr940n_v4_setup);
 +	     tl_wr940n_v4_setup);
 diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile
 diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile
-index 6346eb9..b35c713 100644
+index 6346eb9ffa6c9bbeb1eaa5de229cf69ce12c1f83..b35c713f3c92c3d02f26f4bf535aeec34fd71b12 100644
 --- a/target/linux/ar71xx/image/Makefile
 --- a/target/linux/ar71xx/image/Makefile
 +++ b/target/linux/ar71xx/image/Makefile
 +++ b/target/linux/ar71xx/image/Makefile
 @@ -650,6 +650,16 @@ define Device/tl-wr941nd-v6
 @@ -650,6 +650,16 @@ define Device/tl-wr941nd-v6
@@ -286,7 +286,7 @@ index 6346eb9..b35c713 100644
  define Device/tl-wr1041n-v2
  define Device/tl-wr1041n-v2
      $(Device/tplink-4mlzma)
      $(Device/tplink-4mlzma)
 diff --git a/target/linux/ar71xx/mikrotik/config-default b/target/linux/ar71xx/mikrotik/config-default
 diff --git a/target/linux/ar71xx/mikrotik/config-default b/target/linux/ar71xx/mikrotik/config-default
-index 2b1fe24..75155b2 100644
+index 2b1fe2491c7a00449453efdc4969015ec1b28291..75155b22489a60748b3b1357a1d9c549092255ba 100644
 --- a/target/linux/ar71xx/mikrotik/config-default
 --- a/target/linux/ar71xx/mikrotik/config-default
 +++ b/target/linux/ar71xx/mikrotik/config-default
 +++ b/target/linux/ar71xx/mikrotik/config-default
 @@ -94,6 +94,7 @@ CONFIG_ATH79_MACH_RBSXTLITE=y
 @@ -94,6 +94,7 @@ CONFIG_ATH79_MACH_RBSXTLITE=y
@@ -298,7 +298,7 @@ index 2b1fe24..75155b2 100644
  # CONFIG_ATH79_MACH_UBNT is not set
  # CONFIG_ATH79_MACH_UBNT is not set
  # CONFIG_ATH79_MACH_UBNT_XM is not set
  # CONFIG_ATH79_MACH_UBNT_XM is not set
 diff --git a/target/linux/ar71xx/nand/config-default b/target/linux/ar71xx/nand/config-default
 diff --git a/target/linux/ar71xx/nand/config-default b/target/linux/ar71xx/nand/config-default
-index f62cf1a..802d6e0 100644
+index f62cf1a4399718b2f4e94a974d26ddaf8d46a8ec..802d6e0502b51a4ecf2259c20e9b6667cd255680 100644
 --- a/target/linux/ar71xx/nand/config-default
 --- a/target/linux/ar71xx/nand/config-default
 +++ b/target/linux/ar71xx/nand/config-default
 +++ b/target/linux/ar71xx/nand/config-default
 @@ -57,6 +57,7 @@
 @@ -57,6 +57,7 @@
@@ -310,7 +310,7 @@ index f62cf1a..802d6e0 100644
  # CONFIG_ATH79_MACH_UBNT_XM is not set
  # CONFIG_ATH79_MACH_UBNT_XM is not set
  # CONFIG_ATH79_MACH_UBNT_UNIFIAC is not set
  # CONFIG_ATH79_MACH_UBNT_UNIFIAC is not set
 diff --git a/target/linux/ar71xx/patches-3.18/610-MIPS-ath79-openwrt-machines.patch b/target/linux/ar71xx/patches-3.18/610-MIPS-ath79-openwrt-machines.patch
 diff --git a/target/linux/ar71xx/patches-3.18/610-MIPS-ath79-openwrt-machines.patch b/target/linux/ar71xx/patches-3.18/610-MIPS-ath79-openwrt-machines.patch
-index d23f0cf..b751746 100644
+index d23f0cf33e50da891e7135861f1defda047ff2c8..b7517464742679b66c3bd916b9b2a2fcc34b65e1 100644
 --- a/target/linux/ar71xx/patches-3.18/610-MIPS-ath79-openwrt-machines.patch
 --- a/target/linux/ar71xx/patches-3.18/610-MIPS-ath79-openwrt-machines.patch
 +++ b/target/linux/ar71xx/patches-3.18/610-MIPS-ath79-openwrt-machines.patch
 +++ b/target/linux/ar71xx/patches-3.18/610-MIPS-ath79-openwrt-machines.patch
 @@ -1,6 +1,6 @@
 @@ -1,6 +1,6 @@

+ 1 - 1
patches/packages/luci/0001-fvalue.html-add-label-that-can-be-styled.patch

@@ -3,7 +3,7 @@ Date: Sat, 9 Aug 2014 09:33:21 +0200
 Subject: fvalue.html: add label that can be styled
 Subject: fvalue.html: add label that can be styled
 
 
 diff --git a/modules/luci-base/luasrc/view/cbi/fvalue.htm b/modules/luci-base/luasrc/view/cbi/fvalue.htm
 diff --git a/modules/luci-base/luasrc/view/cbi/fvalue.htm b/modules/luci-base/luasrc/view/cbi/fvalue.htm
-index a1e0808..a324ab2 100644
+index a1e0808e8d3e8bf1845d4838b244ed6bb0b605f2..a324ab258a86b080f9bf285aa62ee4db43468a81 100644
 --- a/modules/luci-base/luasrc/view/cbi/fvalue.htm
 --- a/modules/luci-base/luasrc/view/cbi/fvalue.htm
 +++ b/modules/luci-base/luasrc/view/cbi/fvalue.htm
 +++ b/modules/luci-base/luasrc/view/cbi/fvalue.htm
 @@ -6,4 +6,5 @@
 @@ -6,4 +6,5 @@

+ 1 - 1
patches/packages/luci/0002-modules-base-dispatcher-set-default-language-if-none-provided-by-the-browser-matches.patch

@@ -3,7 +3,7 @@ Date: Thu, 19 Mar 2015 18:44:52 +0100
 Subject: modules/base: dispatcher: set default language if none provided by the browser matches
 Subject: modules/base: dispatcher: set default language if none provided by the browser matches
 
 
 diff --git a/modules/luci-base/luasrc/dispatcher.lua b/modules/luci-base/luasrc/dispatcher.lua
 diff --git a/modules/luci-base/luasrc/dispatcher.lua b/modules/luci-base/luasrc/dispatcher.lua
-index 2526950..be2fc34 100644
+index 25269501068dd26efe5b85706b555996d63b0f6d..be2fc3453f528853519649e4b64ecb3fd14d80be 100644
 --- a/modules/luci-base/luasrc/dispatcher.lua
 --- a/modules/luci-base/luasrc/dispatcher.lua
 +++ b/modules/luci-base/luasrc/dispatcher.lua
 +++ b/modules/luci-base/luasrc/dispatcher.lua
 @@ -182,6 +182,7 @@ function dispatch(request)
 @@ -182,6 +182,7 @@ function dispatch(request)

+ 1 - 1
patches/packages/luci/0003-luci-lib-jsonc-Ignore-non-string-or-number-keys-in-tables.patch

@@ -15,7 +15,7 @@ representation altogether.
 Signed-off-by: Jan-Philipp Litza <janphilipp@litza.de>
 Signed-off-by: Jan-Philipp Litza <janphilipp@litza.de>
 
 
 diff --git a/libs/luci-lib-jsonc/src/jsonc.c b/libs/luci-lib-jsonc/src/jsonc.c
 diff --git a/libs/luci-lib-jsonc/src/jsonc.c b/libs/luci-lib-jsonc/src/jsonc.c
-index 49cb21f..827fde8 100644
+index 49cb21f5bcb2817792d0eef8dc5cd567bc6d86bc..827fde8843082e956b0c89b5855feeabd790e880 100644
 --- a/libs/luci-lib-jsonc/src/jsonc.c
 --- a/libs/luci-lib-jsonc/src/jsonc.c
 +++ b/libs/luci-lib-jsonc/src/jsonc.c
 +++ b/libs/luci-lib-jsonc/src/jsonc.c
 @@ -286,8 +286,9 @@ static struct json_object * _lua_to_json(lua_State *L, int index)
 @@ -286,8 +286,9 @@ static struct json_object * _lua_to_json(lua_State *L, int index)

+ 1 - 1
patches/packages/luci/0004-luci-lib-jsonc-allow-encoding-empty-lists.patch

@@ -15,7 +15,7 @@ function) can be used to force encoding as an object:
 Signed-off-by: Jan-Philipp Litza <janphilipp@litza.de>
 Signed-off-by: Jan-Philipp Litza <janphilipp@litza.de>
 
 
 diff --git a/libs/luci-lib-jsonc/src/jsonc.c b/libs/luci-lib-jsonc/src/jsonc.c
 diff --git a/libs/luci-lib-jsonc/src/jsonc.c b/libs/luci-lib-jsonc/src/jsonc.c
-index 827fde8..971fb12 100644
+index 827fde8843082e956b0c89b5855feeabd790e880..971fb122f7655b379e717ef78a5417032ead9a57 100644
 --- a/libs/luci-lib-jsonc/src/jsonc.c
 --- a/libs/luci-lib-jsonc/src/jsonc.c
 +++ b/libs/luci-lib-jsonc/src/jsonc.c
 +++ b/libs/luci-lib-jsonc/src/jsonc.c
 @@ -222,7 +222,7 @@ static int _lua_test_array(lua_State *L, int index)
 @@ -222,7 +222,7 @@ static int _lua_test_array(lua_State *L, int index)

+ 1 - 1
patches/packages/luci/0005-luci-lib-jsonc-Fix-memory-leak-in-stringify.patch

@@ -3,7 +3,7 @@ Date: Mon, 31 Aug 2015 19:52:36 +0200
 Subject: luci-lib-jsonc: Fix memory leak in stringify()
 Subject: luci-lib-jsonc: Fix memory leak in stringify()
 
 
 diff --git a/libs/luci-lib-jsonc/src/jsonc.c b/libs/luci-lib-jsonc/src/jsonc.c
 diff --git a/libs/luci-lib-jsonc/src/jsonc.c b/libs/luci-lib-jsonc/src/jsonc.c
-index 971fb12..b857c97 100644
+index 971fb122f7655b379e717ef78a5417032ead9a57..b857c979e93bec395bca164a4f144c7c69005bec 100644
 --- a/libs/luci-lib-jsonc/src/jsonc.c
 --- a/libs/luci-lib-jsonc/src/jsonc.c
 +++ b/libs/luci-lib-jsonc/src/jsonc.c
 +++ b/libs/luci-lib-jsonc/src/jsonc.c
 @@ -106,6 +106,7 @@ static int json_stringify(lua_State *L)
 @@ -106,6 +106,7 @@ static int json_stringify(lua_State *L)

+ 2 - 2
patches/packages/luci/0006-luci-lib-jsonc-Add-ltn12-compatible-sink-factory.patch

@@ -15,7 +15,7 @@ from stdin), the following code will now do:
 Signed-off-by: Jan-Philipp Litza <janphilipp@litza.de>
 Signed-off-by: Jan-Philipp Litza <janphilipp@litza.de>
 
 
 diff --git a/libs/luci-lib-jsonc/src/jsonc.c b/libs/luci-lib-jsonc/src/jsonc.c
 diff --git a/libs/luci-lib-jsonc/src/jsonc.c b/libs/luci-lib-jsonc/src/jsonc.c
-index b857c97..ef11101 100644
+index b857c979e93bec395bca164a4f144c7c69005bec..ef1110166055a78bf32cf1a6fbbd3e356b2bce3f 100644
 --- a/libs/luci-lib-jsonc/src/jsonc.c
 --- a/libs/luci-lib-jsonc/src/jsonc.c
 +++ b/libs/luci-lib-jsonc/src/jsonc.c
 +++ b/libs/luci-lib-jsonc/src/jsonc.c
 @@ -328,6 +328,76 @@ static int json_parse_set(lua_State *L)
 @@ -328,6 +328,76 @@ static int json_parse_set(lua_State *L)
@@ -104,7 +104,7 @@ index b857c97..ef11101 100644
  
  
  	{ "__gc",			json_gc           },
  	{ "__gc",			json_gc           },
 diff --git a/libs/luci-lib-jsonc/src/jsonc.luadoc b/libs/luci-lib-jsonc/src/jsonc.luadoc
 diff --git a/libs/luci-lib-jsonc/src/jsonc.luadoc b/libs/luci-lib-jsonc/src/jsonc.luadoc
-index 2ee9ceb..720b17d 100644
+index 2ee9cebdc889242595f5281228783df15b9b8dcd..720b17d1eb76d8eb9a8b47939ac724891cfb3886 100644
 --- a/libs/luci-lib-jsonc/src/jsonc.luadoc
 --- a/libs/luci-lib-jsonc/src/jsonc.luadoc
 +++ b/libs/luci-lib-jsonc/src/jsonc.luadoc
 +++ b/libs/luci-lib-jsonc/src/jsonc.luadoc
 @@ -121,10 +121,22 @@ parser:set({ "some", "data" })`
 @@ -121,10 +121,22 @@ parser:set({ "some", "data" })`

+ 2 - 2
patches/packages/luci/0007-model.uci-add-add_to_set-remove_from_set.patch

@@ -13,7 +13,7 @@ i.e. duplicated values will be removed. Also, order is not preserved.
 Signed-off-by: Nils Schneider <nils@nilsschneider.net>
 Signed-off-by: Nils Schneider <nils@nilsschneider.net>
 
 
 diff --git a/modules/luci-base/luasrc/model/uci.lua b/modules/luci-base/luasrc/model/uci.lua
 diff --git a/modules/luci-base/luasrc/model/uci.lua b/modules/luci-base/luasrc/model/uci.lua
-index 1659137..d35b9d7 100644
+index 1659137742940ea0621e2b57e98232f393dc7efa..d35b9d70e27913c9da302c6975a97888774de535 100644
 --- a/modules/luci-base/luasrc/model/uci.lua
 --- a/modules/luci-base/luasrc/model/uci.lua
 +++ b/modules/luci-base/luasrc/model/uci.lua
 +++ b/modules/luci-base/luasrc/model/uci.lua
 @@ -9,7 +9,7 @@ local table = require "table"
 @@ -9,7 +9,7 @@ local table = require "table"
@@ -67,7 +67,7 @@ index 1659137..d35b9d7 100644
  function Cursor._affected(self, configlist)
  function Cursor._affected(self, configlist)
  	configlist = type(configlist) == "table" and configlist or {configlist}
  	configlist = type(configlist) == "table" and configlist or {configlist}
 diff --git a/modules/luci-base/luasrc/model/uci.luadoc b/modules/luci-base/luasrc/model/uci.luadoc
 diff --git a/modules/luci-base/luasrc/model/uci.luadoc b/modules/luci-base/luasrc/model/uci.luadoc
-index 1c20866..281bdb2 100644
+index 1c208669d17f24d2d1de99bbbf1cefe878649014..281bdb2953ee1888ee41d8d0fb1cc40e9345b3e0 100644
 --- a/modules/luci-base/luasrc/model/uci.luadoc
 --- a/modules/luci-base/luasrc/model/uci.luadoc
 +++ b/modules/luci-base/luasrc/model/uci.luadoc
 +++ b/modules/luci-base/luasrc/model/uci.luadoc
 @@ -116,6 +116,30 @@ Set given values as list.
 @@ -116,6 +116,30 @@ Set given values as list.

+ 2 - 2
patches/packages/luci/0008-Move-rpcd-dependency-from-luci-base-to-luci-mode-rpc.patch

@@ -6,7 +6,7 @@ LuCI's authentication won't work without rpcd, but we aren't using the
 authentication anyways. Users who need it can just install rpcd explicitly.
 authentication anyways. Users who need it can just install rpcd explicitly.
 
 
 diff --git a/modules/luci-base/Makefile b/modules/luci-base/Makefile
 diff --git a/modules/luci-base/Makefile b/modules/luci-base/Makefile
-index 54506b0..4457034 100644
+index 54506b023a728e071b8fb4983ef614897363c0ec..4457034ada02972908a68f7c9c54352e7ac3c054 100644
 --- a/modules/luci-base/Makefile
 --- a/modules/luci-base/Makefile
 +++ b/modules/luci-base/Makefile
 +++ b/modules/luci-base/Makefile
 @@ -12,7 +12,7 @@ LUCI_TYPE:=mod
 @@ -12,7 +12,7 @@ LUCI_TYPE:=mod
@@ -19,7 +19,7 @@ index 54506b0..4457034 100644
  PKG_SOURCE:=LuaSrcDiet-0.12.1.tar.bz2
  PKG_SOURCE:=LuaSrcDiet-0.12.1.tar.bz2
  PKG_SOURCE_URL:=https://luasrcdiet.googlecode.com/files
  PKG_SOURCE_URL:=https://luasrcdiet.googlecode.com/files
 diff --git a/modules/luci-mod-rpc/Makefile b/modules/luci-mod-rpc/Makefile
 diff --git a/modules/luci-mod-rpc/Makefile b/modules/luci-mod-rpc/Makefile
-index e64c86c..5f64a14 100644
+index e64c86c6283a5a7d1181816e9f148d78d15c7dd8..5f64a14d48ef1f74435e151bc03a2377239be1f8 100644
 --- a/modules/luci-mod-rpc/Makefile
 --- a/modules/luci-mod-rpc/Makefile
 +++ b/modules/luci-mod-rpc/Makefile
 +++ b/modules/luci-mod-rpc/Makefile
 @@ -7,7 +7,7 @@
 @@ -7,7 +7,7 @@

+ 1 - 1
patches/packages/openwrt/0001-node-add-python-host-to-HOST_BUILD_DEPENDS-as-well.patch

@@ -5,7 +5,7 @@ Subject: node: add python/host to HOST_BUILD_DEPENDS as well
 Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
 Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
 
 
 diff --git a/lang/node/Makefile b/lang/node/Makefile
 diff --git a/lang/node/Makefile b/lang/node/Makefile
-index 65a5390..243c8a5 100644
+index 65a53900c7a907f41380469571fb5bd22028f62e..243c8a5b69ae6bd12b84493de3b26992167f2c17 100644
 --- a/lang/node/Makefile
 --- a/lang/node/Makefile
 +++ b/lang/node/Makefile
 +++ b/lang/node/Makefile
 @@ -14,6 +14,7 @@ PKG_RELEASE:=1
 @@ -14,6 +14,7 @@ PKG_RELEASE:=1

+ 1 - 1
patches/packages/openwrt/0002-lua-cjson-add-host-build-support.patch

@@ -3,7 +3,7 @@ Date: Wed, 30 Dec 2015 01:00:49 +0100
 Subject: lua-cjson: add host build support
 Subject: lua-cjson: add host build support
 
 
 diff --git a/lang/lua-cjson/Makefile b/lang/lua-cjson/Makefile
 diff --git a/lang/lua-cjson/Makefile b/lang/lua-cjson/Makefile
-index fbdcf17..1adfeb3 100644
+index fbdcf17d1f0be7afeb512705137e438f47687850..1adfeb3b537f8b38d81148d4a8266485d7a05ab4 100644
 --- a/lang/lua-cjson/Makefile
 --- a/lang/lua-cjson/Makefile
 +++ b/lang/lua-cjson/Makefile
 +++ b/lang/lua-cjson/Makefile
 @@ -20,6 +20,7 @@ PKG_MD5SUM:=24f270663e9f6ca8ba2a02cef19f7963
 @@ -20,6 +20,7 @@ PKG_MD5SUM:=24f270663e9f6ca8ba2a02cef19f7963

+ 1 - 1
patches/packages/openwrt/0003-libuecc-update-to-v7.patch

@@ -5,7 +5,7 @@ Subject: libuecc: update to v7
 Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
 Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
 
 
 diff --git a/libs/libuecc/Makefile b/libs/libuecc/Makefile
 diff --git a/libs/libuecc/Makefile b/libs/libuecc/Makefile
-index 63b6ebe..c1ba53f 100644
+index 63b6ebe217fc2ff105a1a223807c610c31158eb8..c1ba53f854b5f0e29728f0a4d2e8f682ff8357a3 100644
 --- a/libs/libuecc/Makefile
 --- a/libs/libuecc/Makefile
 +++ b/libs/libuecc/Makefile
 +++ b/libs/libuecc/Makefile
 @@ -1,5 +1,5 @@
 @@ -1,5 +1,5 @@

+ 2 - 2
patches/packages/openwrt/0004-fastd-update-to-v18.patch

@@ -5,7 +5,7 @@ Subject: fastd: update to v18
 Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
 Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
 
 
 diff --git a/net/fastd/Config.in b/net/fastd/Config.in
 diff --git a/net/fastd/Config.in b/net/fastd/Config.in
-index 5820b97..3350eb3 100644
+index 5820b9796562cd11826f8bbefbb02806fe516c61..3350eb3099a26c870d70373c0712a8b59881ee5c 100644
 --- a/net/fastd/Config.in
 --- a/net/fastd/Config.in
 +++ b/net/fastd/Config.in
 +++ b/net/fastd/Config.in
 @@ -74,6 +74,12 @@ config FASTD_ENABLE_MAC_UHASH
 @@ -74,6 +74,12 @@ config FASTD_ENABLE_MAC_UHASH
@@ -22,7 +22,7 @@ index 5820b97..3350eb3 100644
  	bool "Include support for setting user/group related options on the command line"
  	bool "Include support for setting user/group related options on the command line"
  	depends on PACKAGE_fastd
  	depends on PACKAGE_fastd
 diff --git a/net/fastd/Makefile b/net/fastd/Makefile
 diff --git a/net/fastd/Makefile b/net/fastd/Makefile
-index 027f549..5c550d8 100644
+index 027f5491d2f6b066affe08e846b1967900c391e1..5c550d8a5f4669d4f018dde23b622376bc8d0b06 100644
 --- a/net/fastd/Makefile
 --- a/net/fastd/Makefile
 +++ b/net/fastd/Makefile
 +++ b/net/fastd/Makefile
 @@ -8,13 +8,13 @@
 @@ -8,13 +8,13 @@

+ 1 - 1
patches/packages/openwrt/0005-node-update-to-v0.12.14.patch

@@ -7,7 +7,7 @@ While we're at it, also enable parallel builds.
 Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
 Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
 
 
 diff --git a/lang/node/Makefile b/lang/node/Makefile
 diff --git a/lang/node/Makefile b/lang/node/Makefile
-index 243c8a5..ed35e17 100644
+index 243c8a5b69ae6bd12b84493de3b26992167f2c17..ed35e1729bb01bcbb89e43f975940e675d774cde 100644
 --- a/lang/node/Makefile
 --- a/lang/node/Makefile
 +++ b/lang/node/Makefile
 +++ b/lang/node/Makefile
 @@ -8,17 +8,21 @@
 @@ -8,17 +8,21 @@

+ 1 - 1
patches/packages/openwrt/0006-node-fix-undefined-behaviour-leading-to-broken-code-with-GCC-6.patch

@@ -10,7 +10,7 @@ Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
 
 
 diff --git a/lang/node/patches/004-gcc6-undefined-behaviour.patch b/lang/node/patches/004-gcc6-undefined-behaviour.patch
 diff --git a/lang/node/patches/004-gcc6-undefined-behaviour.patch b/lang/node/patches/004-gcc6-undefined-behaviour.patch
 new file mode 100644
 new file mode 100644
-index 0000000..dbbbcf0
+index 0000000000000000000000000000000000000000..dbbbcf0c54bb62f643521411668772531d42b89a
 --- /dev/null
 --- /dev/null
 +++ b/lang/node/patches/004-gcc6-undefined-behaviour.patch
 +++ b/lang/node/patches/004-gcc6-undefined-behaviour.patch
 @@ -0,0 +1,64 @@
 @@ -0,0 +1,64 @@

+ 2 - 2
patches/packages/openwrt/0007-libuecc-use-shared-instead-of-static-library.patch

@@ -5,7 +5,7 @@ Subject: libuecc: use shared instead of static library
 Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
 Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
 
 
 diff --git a/libs/libuecc/Makefile b/libs/libuecc/Makefile
 diff --git a/libs/libuecc/Makefile b/libs/libuecc/Makefile
-index c1ba53f..8111062 100644
+index c1ba53f854b5f0e29728f0a4d2e8f682ff8357a3..81110624212291d86631a7b56232208459b004da 100644
 --- a/libs/libuecc/Makefile
 --- a/libs/libuecc/Makefile
 +++ b/libs/libuecc/Makefile
 +++ b/libs/libuecc/Makefile
 @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
@@ -36,7 +36,7 @@ index c1ba53f..8111062 100644
  	$(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libuecc.pc $(1)/usr/lib/pkgconfig/
  	$(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libuecc.pc $(1)/usr/lib/pkgconfig/
  endef
  endef
 diff --git a/net/fastd/Makefile b/net/fastd/Makefile
 diff --git a/net/fastd/Makefile b/net/fastd/Makefile
-index 5c550d8..aeaa1df 100644
+index 5c550d8a5f4669d4f018dde23b622376bc8d0b06..aeaa1dfcf682a5c2b048d636b549953035fdbf0d 100644
 --- a/net/fastd/Makefile
 --- a/net/fastd/Makefile
 +++ b/net/fastd/Makefile
 +++ b/net/fastd/Makefile
 @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk

Some files were not shown because too many files changed in this diff