projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[package] iwinfo: replace internal constant mode strings with enums
[openwrt.git]
/
package
/
iwinfo
/
src
/
iwinfo_lib.c
diff --git
a/package/iwinfo/src/iwinfo_lib.c
b/package/iwinfo/src/iwinfo_lib.c
index a28d985533ad06b953c145dd70b8831a4b266177..98bd1ec0d582e63263500d6a49733aaead04d054 100644
(file)
--- a/
package/iwinfo/src/iwinfo_lib.c
+++ b/
package/iwinfo/src/iwinfo_lib.c
@@
-44,6
+44,14
@@
const char *IWINFO_AUTH_NAMES[] = {
"SHARED",
};
+const char *IWINFO_OPMODE_NAMES[] = {
+ "Unknown",
+ "Master",
+ "Ad-Hoc",
+ "Client",
+ "Monitor",
+};
+
/*
* ISO3166 country labels