projects
/
openwrt
/
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/openwrt.git]
/
package
/
network
/
utils
/
iwinfo
/
src
/
include
/
iwinfo
/
wl.h
diff --git
a/package/network/utils/iwinfo/src/include/iwinfo/wl.h
b/package/network/utils/iwinfo/src/include/iwinfo/wl.h
index 077a51bbd49650e960db54321e1aa5fe57ac0d0a..535a43dc37b357d0a8f40bfa10e2036891d2b4bb 100644
(file)
--- a/
package/network/utils/iwinfo/src/include/iwinfo/wl.h
+++ b/
package/network/utils/iwinfo/src/include/iwinfo/wl.h
@@
-55,6
+55,8
@@
int wl_get_hardware_name(const char *ifname, char *buf);
void wl_close(void);
static const struct iwinfo_ops wl_ops = {
+ .name = "wl",
+ .probe = wl_probe,
.channel = wl_get_channel,
.frequency = wl_get_frequency,
.frequency_offset = wl_get_frequency_offset,