mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-28 09:39:00 +00:00
8921e36ed8
Backport upstream patch a0a0e02 ("iwinfo: rename hardware.txt to devices.txt")
and split devices.txt (former hardware.txt) into a common libiwinfo-data
package to allow different libiwinfo versions to coexist without file
clashes.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(backported from commit c13d7c82aa
)
27 lines
751 B
Diff
27 lines
751 B
Diff
From a0a0e02dd91d14a50155390d5fd3b95d6ec87bf4 Mon Sep 17 00:00:00 2001
|
|
From: Jo-Philipp Wich <jo@mein.io>
|
|
Date: Sun, 11 Jul 2021 15:56:35 +0200
|
|
Subject: [PATCH] iwinfo: rename hardware.txt to devices.txt
|
|
|
|
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
---
|
|
include/iwinfo.h | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/include/iwinfo.h b/include/iwinfo.h
|
|
index f7097cc..8469ee7 100644
|
|
--- a/include/iwinfo.h
|
|
+++ b/include/iwinfo.h
|
|
@@ -255,7 +255,7 @@ struct iwinfo_hardware_entry {
|
|
|
|
extern const struct iwinfo_iso3166_label IWINFO_ISO3166_NAMES[];
|
|
|
|
-#define IWINFO_HARDWARE_FILE "/usr/share/libiwinfo/hardware.txt"
|
|
+#define IWINFO_HARDWARE_FILE "/usr/share/libiwinfo/devices.txt"
|
|
|
|
|
|
struct iwinfo_ops {
|
|
--
|
|
2.30.2
|
|
|