diff options
author | mbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-07-09 21:27:13 +0000 |
---|---|---|
committer | mbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-07-09 21:27:13 +0000 |
commit | 4a74102e0677cba13dae3860ef7d3db1b17666c8 (patch) | |
tree | 00bf91a314c055a82a9d5ea29af80663bc55df4d /package/wlcompat/src | |
parent | e572a2988fc53efe240bace712f703cdb15f5e67 (diff) |
fix channel/frequency returned by scan
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7903 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 d849be855..3e869ea79 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 */ |