diff options
author | Mike Baker <mbm@openwrt.org> | 2007-07-09 21:27:13 +0000 |
---|---|---|
committer | Mike Baker <mbm@openwrt.org> | 2007-07-09 21:27:13 +0000 |
commit | 1ddafdaf82745a3a004a8a848c08bbc7ffb447e6 (patch) | |
tree | c8c996ac9a77f5ce9f958bd8f9f0432403c04431 /package/wlcompat | |
parent | 0e1921ab3c64838dce369538c2e0fcbebaed89ac (diff) | |
download | mtk-20170518-1ddafdaf82745a3a004a8a848c08bbc7ffb447e6.zip mtk-20170518-1ddafdaf82745a3a004a8a848c08bbc7ffb447e6.tar.gz mtk-20170518-1ddafdaf82745a3a004a8a848c08bbc7ffb447e6.tar.bz2 |
fix channel/frequency returned by scan
SVN-Revision: 7903
Diffstat (limited to 'package/wlcompat')
-rw-r--r-- | package/wlcompat/Makefile | 2 | ||||
-rw-r--r-- | package/wlcompat/src/wlcompat.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/package/wlcompat/Makefile b/package/wlcompat/Makefile index 1870c99..78f301a 100644 --- a/package/wlcompat/Makefile +++ b/package/wlcompat/Makefile @@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk include $(INCLUDE_DIR)/kernel.mk PKG_NAME:=kmod-wlcompat -PKG_RELEASE:=5 +PKG_RELEASE:=6 PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME) diff --git a/package/wlcompat/src/wlcompat.c b/package/wlcompat/src/wlcompat.c index d849be8..3e869ea 100644 --- a/package/wlcompat/src/wlcompat.c +++ b/package/wlcompat/src/wlcompat.c @@ -482,7 +482,7 @@ static int wlcompat_get_scan(struct net_device *dev, /* send frequency/channel info */ iwe.cmd = SIOCGIWFREQ; iwe.u.freq.e = 0; - iwe.u.freq.m = bss_info->chanspec; + iwe.u.freq.m = bss_info->chanspec & WL_CHANSPEC_CHAN_MASK; current_ev = iwe_stream_add_event(current_ev, end_buf, &iwe, IW_EV_FREQ_LEN); /* add quality statistics */ |