Please note: This project is no longer active. The website is kept online for historic purposes only.
If you´re looking for a Linux driver for your Atheros WLAN device, you should continue here .

Ticket #623: imr-adhoc-channels.diff

File imr-adhoc-channels.diff, 0.5 kB (added by imr1@waikato.ac.nz, 13 years ago)

Patch to use the same channels table in ad-hoc mode as in station mode.

  • net80211/ieee80211_scan_sta.c

    old new  
    11691169         * of channels for scanning.  Any channels in the ordered 
    11701170         * list not in the master list will be discarded. 
    11711171         */ 
    1172         for (scan = adhocScanTable; scan->list != NULL; scan++) { 
     1172        for (scan = staScanTable; scan->list != NULL; scan++) { 
    11731173                mode = scan->mode; 
    11741174                if (vap->iv_des_mode != IEEE80211_MODE_AUTO) { 
    11751175                        /*