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/src | |
parent | 0e1921ab3c64838dce369538c2e0fcbebaed89ac (diff) | |
download | upstream-1ddafdaf82745a3a004a8a848c08bbc7ffb447e6.tar.gz upstream-1ddafdaf82745a3a004a8a848c08bbc7ffb447e6.tar.bz2 upstream-1ddafdaf82745a3a004a8a848c08bbc7ffb447e6.zip |
fix channel/frequency returned by scan
SVN-Revision: 7903
Diffstat (limited to 'package/wlcompat/src')
-rw-r--r-- | package/wlcompat/src/wlcompat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/wlcompat/src/wlcompat.c b/package/wlcompat/src/wlcompat.c index d849be855f..3e869ea795 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 */ |