mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2024-12-26 08:32:38 +00:00
fix channel/frequency returned by scan
SVN-Revision: 7903
This commit is contained in:
parent
0e1921ab3c
commit
1ddafdaf82
@ -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)
|
||||
|
||||
|
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user