1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00

fix channel/frequency returned by scan

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7903 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
mbm
2007-07-09 21:27:13 +00:00
parent e572a2988f
commit 4a74102e06
2 changed files with 2 additions and 2 deletions

View File

@@ -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 */