diff options
author | jow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-02-23 13:16:09 +0000 |
---|---|---|
committer | jow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-02-23 13:16:09 +0000 |
commit | bfef9dc359ac8667eed503e92057c679a1448914 (patch) | |
tree | 2208fc689a08735c90768187d87c8ac18e3d2473 /package/iwinfo/src/include/iwinfo | |
parent | 250113e1c6c0ad9498f03b4e58d2aaaf7588fffd (diff) |
[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/include/iwinfo')
-rw-r--r-- | package/iwinfo/src/include/iwinfo/madwifi.h | 2 | ||||
-rw-r--r-- | package/iwinfo/src/include/iwinfo/nl80211.h | 2 | ||||
-rw-r--r-- | package/iwinfo/src/include/iwinfo/wext.h | 2 | ||||
-rw-r--r-- | package/iwinfo/src/include/iwinfo/wl.h | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/package/iwinfo/src/include/iwinfo/madwifi.h b/package/iwinfo/src/include/iwinfo/madwifi.h index 9acbc3646..14d81352b 100644 --- a/package/iwinfo/src/include/iwinfo/madwifi.h +++ b/package/iwinfo/src/include/iwinfo/madwifi.h @@ -26,7 +26,7 @@ #include "iwinfo/api/madwifi.h" int madwifi_probe(const char *ifname); -int madwifi_get_mode(const char *ifname, char *buf); +int madwifi_get_mode(const char *ifname, int *buf); int madwifi_get_ssid(const char *ifname, char *buf); int madwifi_get_bssid(const char *ifname, char *buf); int madwifi_get_country(const char *ifname, char *buf); diff --git a/package/iwinfo/src/include/iwinfo/nl80211.h b/package/iwinfo/src/include/iwinfo/nl80211.h index 7bbf0ef7b..28545141d 100644 --- a/package/iwinfo/src/include/iwinfo/nl80211.h +++ b/package/iwinfo/src/include/iwinfo/nl80211.h @@ -68,7 +68,7 @@ struct nl80211_array_buf { }; int nl80211_probe(const char *ifname); -int nl80211_get_mode(const char *ifname, char *buf); +int nl80211_get_mode(const char *ifname, int *buf); int nl80211_get_ssid(const char *ifname, char *buf); int nl80211_get_bssid(const char *ifname, char *buf); int nl80211_get_country(const char *ifname, char *buf); diff --git a/package/iwinfo/src/include/iwinfo/wext.h b/package/iwinfo/src/include/iwinfo/wext.h index 8412ef39b..68b596ea8 100644 --- a/package/iwinfo/src/include/iwinfo/wext.h +++ b/package/iwinfo/src/include/iwinfo/wext.h @@ -27,7 +27,7 @@ int wext_probe(const char *ifname); -int wext_get_mode(const char *ifname, char *buf); +int wext_get_mode(const char *ifname, int *buf); int wext_get_ssid(const char *ifname, char *buf); int wext_get_bssid(const char *ifname, char *buf); int wext_get_country(const char *ifname, char *buf); diff --git a/package/iwinfo/src/include/iwinfo/wl.h b/package/iwinfo/src/include/iwinfo/wl.h index 47dda4710..db37e3759 100644 --- a/package/iwinfo/src/include/iwinfo/wl.h +++ b/package/iwinfo/src/include/iwinfo/wl.h @@ -26,7 +26,7 @@ #include "iwinfo/api/broadcom.h" int wl_probe(const char *ifname); -int wl_get_mode(const char *ifname, char *buf); +int wl_get_mode(const char *ifname, int *buf); int wl_get_ssid(const char *ifname, char *buf); int wl_get_bssid(const char *ifname, char *buf); int wl_get_country(const char *ifname, char *buf); |