Revert "iwinfo: update to latest Git HEAD"
authorJo-Philipp Wich <jo@mein.io>
Wed, 5 Feb 2020 14:31:34 +0000 (15:31 +0100)
committerJo-Philipp Wich <jo@mein.io>
Wed, 5 Feb 2020 14:31:39 +0000 (15:31 +0100)
This reverts commit 96424c143dd818b391d9b8da18249eca1d2e6c83.

The commit changed libiwinfo's internal ABI which breaks a number of
downstream projects, including LuCI and rpcd-mod-iwinfo.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
package/network/utils/iwinfo/Makefile
package/network/utils/iwinfo/patches/000-brcm-hardware.patch [new file with mode: 0644]

index 72aca27d6e5517c9ef30aafb2e180793734a0e24..c7548dee987a7d374e091c1f0c5d85169d45f8e5 100644 (file)
@@ -11,9 +11,9 @@ PKG_RELEASE:=1
 
 PKG_SOURCE_PROTO:=git
 PKG_SOURCE_URL=$(PROJECT_GIT)/project/iwinfo.git
-PKG_SOURCE_DATE:=2020-02-04
-PKG_SOURCE_VERSION:=eba5a204f776f49b9948b41e41c03560dbd307c8
-PKG_MIRROR_HASH:=c63de01ce41a4e2621bfdcd75c8ab684af9e9676895d7af008400badd34c9c57
+PKG_SOURCE_DATE:=2020-01-05
+PKG_SOURCE_VERSION:=bf2c1069a7f14d1af1e02c8edd2b7338f0355ac8
+PKG_MIRROR_HASH:=b5f370e087005783e816866eb031952c4b37f8b6c649c1ac1dacfb0b95fd61a7
 PKG_MAINTAINER:=Jo-Philipp Wich <jo@mein.io>
 PKG_LICENSE:=GPL-2.0
 
diff --git a/package/network/utils/iwinfo/patches/000-brcm-hardware.patch b/package/network/utils/iwinfo/patches/000-brcm-hardware.patch
new file mode 100644 (file)
index 0000000..009a6f9
--- /dev/null
@@ -0,0 +1,9 @@
+Index: libiwinfo-2020-01-05-bf2c1069/hardware.txt
+===================================================================
+--- libiwinfo-2020-01-05-bf2c1069.orig/hardware.txt
++++ libiwinfo-2020-01-05-bf2c1069/hardware.txt
+@@ -180,3 +180,4 @@
+ 0x14c3 0x7650 0x14c3 0x7650    0      0  "MediaTek" "MT7610E"
+ 0x14c3 0x7662 0x14c3 0x7662    0      0  "MediaTek" "MT76x2E"
+ 0x1ae9 0x0310 0x1ae9 0x0000    0      0  "Wilocity" "Wil6210"
++0x14e4 0xaa52 0x14e4 0xaa52    0      0  "Broadcom" "BRCM43602"