summaryrefslogtreecommitdiff
path: root/package/network/utils/iwinfo/src/include
diff options
context:
space:
mode:
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-04-26 13:20:15 +0000
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-04-26 13:20:15 +0000
commit7e49a98eed7f81bb50482735b629f371122aa51c (patch)
tree4093af87fbe2434f5500924d2da6ff7226b8f5b2 /package/network/utils/iwinfo/src/include
parent28240cc8d2d2d5d345a9459497dfc3c72379b994 (diff)
iwinfo: move builtin hardware database to /usr/share/libiwinfo/hardware.txt
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36449 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/network/utils/iwinfo/src/include')
-rw-r--r--package/network/utils/iwinfo/src/include/iwinfo.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/package/network/utils/iwinfo/src/include/iwinfo.h b/package/network/utils/iwinfo/src/include/iwinfo.h
index bf7d618964..0d92d8db1e 100644
--- a/package/network/utils/iwinfo/src/include/iwinfo.h
+++ b/package/network/utils/iwinfo/src/include/iwinfo.h
@@ -132,8 +132,8 @@ struct iwinfo_hardware_id {
};
struct iwinfo_hardware_entry {
- const char *vendor_name;
- const char *device_name;
+ char vendor_name[64];
+ char device_name[64];
uint16_t vendor_id;
uint16_t device_id;
uint16_t subsystem_vendor_id;
@@ -143,7 +143,8 @@ struct iwinfo_hardware_entry {
};
extern const struct iwinfo_iso3166_label IWINFO_ISO3166_NAMES[];
-extern const struct iwinfo_hardware_entry IWINFO_HARDWARE_ENTRIES[];
+
+#define IWINFO_HARDWARE_FILE "/usr/share/libiwinfo/hardware.txt"
struct iwinfo_ops {