Changeset 7903


Ignore:
Timestamp:
2007-07-09T23:27:13+02:00 (11 years ago)
Author:
mbm
Message:

fix channel/frequency returned by scan

Location:
trunk/package/wlcompat
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/wlcompat/Makefile

    r7795 r7903  
    1111 
    1212PKG_NAME:=kmod-wlcompat 
    13 PKG_RELEASE:=5 
     13PKG_RELEASE:=6 
    1414 
    1515PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME) 
  • trunk/package/wlcompat/src/wlcompat.c

    r7795 r7903  
    483483                iwe.cmd = SIOCGIWFREQ; 
    484484                iwe.u.freq.e = 0; 
    485                 iwe.u.freq.m = bss_info->chanspec; 
     485                iwe.u.freq.m = bss_info->chanspec & WL_CHANSPEC_CHAN_MASK; 
    486486                current_ev = iwe_stream_add_event(current_ev, end_buf, &iwe, IW_EV_FREQ_LEN); 
    487487 
Note: See TracChangeset for help on using the changeset viewer.