projects
/
openwrt
/
svn-archive
/
archive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
iwinfo: keep an array of backends, reduce the number of ifdefs and hardcoded strcmp...
[openwrt/svn-archive/archive.git]
/
package
/
network
/
utils
/
iwinfo
/
src
/
include
/
iwinfo.h
diff --git
a/package/network/utils/iwinfo/src/include/iwinfo.h
b/package/network/utils/iwinfo/src/include/iwinfo.h
index ebea319d107cf246cb5711bd48bbc73c999722a8..1302d159b9e1ed7f2c92b8ef1f2535772fb44723 100644
(file)
--- a/
package/network/utils/iwinfo/src/include/iwinfo.h
+++ b/
package/network/utils/iwinfo/src/include/iwinfo.h
@@
-148,6
+148,9
@@
extern const struct iwinfo_iso3166_label IWINFO_ISO3166_NAMES[];
struct iwinfo_ops {
+ const char *name;
+
+ int (*probe)(const char *ifname);
int (*mode)(const char *, int *);
int (*channel)(const char *, int *);
int (*frequency)(const char *, int *);