projects
/
openwrt.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.git]
/
package
/
network
/
utils
/
iwinfo
/
src
/
include
/
iwinfo
/
wext.h
diff --git
a/package/network/utils/iwinfo/src/include/iwinfo/wext.h
b/package/network/utils/iwinfo/src/include/iwinfo/wext.h
index
e84f6a6
..
22016c6
100644
(file)
--- a/
package/network/utils/iwinfo/src/include/iwinfo/wext.h
+++ b/
package/network/utils/iwinfo/src/include/iwinfo/wext.h
@@
-55,6
+55,8
@@
int wext_get_hardware_name(const char *ifname, char *buf);
void wext_close(void);
static const struct iwinfo_ops wext_ops = {
+ .name = "wext",
+ .probe = wext_probe,
.channel = wext_get_channel,
.frequency = wext_get_frequency,
.frequency_offset = wext_get_frequency_offset,