tags 403933 + patch
thanks

I've attached a patch (with dpatch metadata) that fixes the problem for
me.  All it does is increase the timeout for the preemptive scan added
in r1664.

Thanks,
John Wright
#! /bin/sh /usr/share/dpatch/dpatch-run
## fix-wpa_supplicant.dpatch by  <[EMAIL PROTECTED]>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Fixes #403933 - problems with wpa_supplicant since r1664

@DPATCH@
diff -urNad jsw2~/net80211/ieee80211_wireless.c 
jsw2/net80211/ieee80211_wireless.c
--- jsw2~/net80211/ieee80211_wireless.c 2007-02-28 00:54:21.000000000 -0700
+++ jsw2/net80211/ieee80211_wireless.c  2007-02-28 00:55:22.560786190 -0700
@@ -1511,7 +1511,7 @@
        /* XXX always manual... */
        IEEE80211_DPRINTF(vap, IEEE80211_MSG_SCAN,
                "%s: active scan request\n", __func__);
-       preempt_scan(dev, 100, 100);
+       preempt_scan(dev, 1000, 1000);
 #if WIRELESS_EXT > 17
        if (data && (data->flags & IW_SCAN_THIS_ESSID)) {
                struct iw_scan_req req;

Reply via email to