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 | 69dd217a4a266ae746166b7fc90fb93e7cbff2d9 (patch) | |
tree | 2208fc689a08735c90768187d87c8ac18e3d2473 /package/iwinfo/src/iwinfo_lib.c | |
parent | 80317f56a404e4c2168faa8963c1910e65f38e48 (diff) | |
download | upstream-69dd217a4a266ae746166b7fc90fb93e7cbff2d9.tar.gz upstream-69dd217a4a266ae746166b7fc90fb93e7cbff2d9.tar.bz2 upstream-69dd217a4a266ae746166b7fc90fb93e7cbff2d9.zip |
[package] iwinfo: replace internal constant mode strings with enums
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30692 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 |