summaryrefslogtreecommitdiffhomepage
path: root/libs/iwinfo/src/iwinfo_wl.c
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-08-09 14:24:43 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-08-09 14:24:43 +0000
commit2a9a87e89172c147c1dc222f67221f825755e9aa (patch)
treedd26bfe841ea6ff2d0a78d8e8e080fae4f277cc5 /libs/iwinfo/src/iwinfo_wl.c
parent398c125336f035a9a5a23b476f597b2e22fb672a (diff)
libs/iwinfo: implement *_get_frequency() - operating freq in mhz
Diffstat (limited to 'libs/iwinfo/src/iwinfo_wl.c')
-rw-r--r--libs/iwinfo/src/iwinfo_wl.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libs/iwinfo/src/iwinfo_wl.c b/libs/iwinfo/src/iwinfo_wl.c
index 3362475012..a29cf84ee8 100644
--- a/libs/iwinfo/src/iwinfo_wl.c
+++ b/libs/iwinfo/src/iwinfo_wl.c
@@ -128,6 +128,11 @@ int wl_get_channel(const char *ifname, int *buf)
return wl_ioctl(ifname, WLC_GET_CHANNEL, buf, sizeof(buf));
}
+int wl_get_frequency(const char *ifname, int *buf)
+{
+ return wext_get_frequency(ifname, buf);
+}
+
int wl_get_bitrate(const char *ifname, int *buf)
{
int ret = -1;