--- net80211/ieee80211_wireless.c.orig 2006-08-15 17:57:21.000000000 +0200 +++ net80211/ieee80211_wireless.c 2006-08-15 18:00:57.000000000 +0200 @@ -121,6 +121,7 @@ iq->updated = IW_QUAL_ALL_UPDATED; } +#if 0 static void preempt_scan(struct net_device *dev, int max_grace, int max_wait) { @@ -153,7 +154,7 @@ __func__); } } - +#endif static struct iw_statistics * ieee80211_iw_getstats(struct net_device *dev) { @@ -1515,7 +1516,7 @@ /* XXX always manual... */ IEEE80211_DPRINTF(vap, IEEE80211_MSG_SCAN, "%s: active scan request\n", __func__); - preempt_scan(dev, 100, 100); + // preempt_scan(dev, 100, 100); #if WIRELESS_EXT > 17 if (data && (data->flags & IW_SCAN_THIS_ESSID)) { struct iw_scan_req req;