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 #228: imr-delay-cancel-scan-patch.diff

File imr-delay-cancel-scan-patch.diff, 435 bytes (added by imr1@waikato.ac.nz, 14 years ago)

Delays completion of the ieee80211_cancel_scan() method until the scan is actually cancelled.

  • net80211/ieee80211_scan.c

    old new  
    614614                mod_timer(&SCAN_PRIVATE(ss)->ss_scan_timer, jiffies); 
    615615        } 
    616616        IEEE80211_UNLOCK(ic); 
     617        /* Wait for the timer to fire, so that the scan is definately 
     618         * cancelled before further code can execute. */ 
     619        mdelay(10); 
    617620} 
    618621 
    619622/*