From 2a9a87e89172c147c1dc222f67221f825755e9aa Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sun, 9 Aug 2009 14:24:43 +0000 Subject: libs/iwinfo: implement *_get_frequency() - operating freq in mhz --- libs/iwinfo/src/iwinfo_wl.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libs/iwinfo/src/iwinfo_wl.c') 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; -- cgit v1.2.3