include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=kmod-wlcompat
include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=kmod-wlcompat
PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)
PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)
/* send frequency/channel info */
iwe.cmd = SIOCGIWFREQ;
iwe.u.freq.e = 0;
/* 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 */
current_ev = iwe_stream_add_event(current_ev, end_buf, &iwe, IW_EV_FREQ_LEN);
/* add quality statistics */