From 1ddafdaf82745a3a004a8a848c08bbc7ffb447e6 Mon Sep 17 00:00:00 2001 From: Mike Baker Date: Mon, 9 Jul 2007 21:27:13 +0000 Subject: fix channel/frequency returned by scan SVN-Revision: 7903 --- package/wlcompat/src/wlcompat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/wlcompat/src') 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 */ -- cgit v1.2.3