diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2012-02-23 13:16:09 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2012-02-23 13:16:09 +0000 |
commit | 76bb0f3309862e021d454783a957306b63613a9a (patch) | |
tree | c23c154a552ba0fd7f2e2d2a2eff3ea72dc7708d /package/iwinfo/src/iwinfo_lib.c | |
parent | b1af9a779fda99262632d69c085aea16e17ac809 (diff) | |
download | master-31e0f0ae-76bb0f3309862e021d454783a957306b63613a9a.tar.gz master-31e0f0ae-76bb0f3309862e021d454783a957306b63613a9a.tar.bz2 master-31e0f0ae-76bb0f3309862e021d454783a957306b63613a9a.zip |
iwinfo: replace internal constant mode strings with enums
SVN-Revision: 30692
Diffstat (limited to 'package/iwinfo/src/iwinfo_lib.c')
-rw-r--r-- | package/iwinfo/src/iwinfo_lib.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/package/iwinfo/src/iwinfo_lib.c b/package/iwinfo/src/iwinfo_lib.c index a28d985533..98bd1ec0d5 100644 --- 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 |