atheros: nuke 2.6.26 support, 2.6.28 is stable
[openwrt.git] / package / wpa_supplicant / patches / 120-ssid_scan.patch
index b4127fa..6beaed4 100644 (file)
@@ -1,16 +1,16 @@
 Don't do broadcast SSID scans, if all configured SSIDs use scan_ssid=1. Improves background scanning in supplicant-managed roaming.
 
-Index: wpa_supplicant-0.6.3/wpa_supplicant/scan.c
-===================================================================
---- wpa_supplicant-0.6.3.orig/wpa_supplicant/scan.c    2008-07-09 18:53:28.000000000 +0200
-+++ wpa_supplicant-0.6.3/wpa_supplicant/scan.c 2008-07-09 19:00:55.000000000 +0200
-@@ -48,11 +48,23 @@
-       int enabled, scan_req = 0, ret;
+--- a/wpa_supplicant/scan.c
++++ b/wpa_supplicant/scan.c
+@@ -73,6 +73,7 @@ static void wpa_supplicant_scan(void *el
+       struct wpabuf *wps_ie = NULL;
        const u8 *extra_ie = NULL;
        size_t extra_ie_len = 0;
 +      int scan_ssid_all = 1;
-       if (wpa_s->disconnected && !wpa_s->scan_req)
+       int wps = 0;
+ #ifdef CONFIG_WPS
+       enum wps_request_type req_type = WPS_REQ_ENROLLEE_INFO;
+@@ -82,6 +83,17 @@ static void wpa_supplicant_scan(void *el
                return;
  
        enabled = 0;
@@ -28,7 +28,7 @@ Index: wpa_supplicant-0.6.3/wpa_supplicant/scan.c
        ssid = wpa_s->conf->ssid;
        while (ssid) {
                if (!ssid->disabled) {
-@@ -125,6 +137,10 @@
+@@ -154,6 +166,10 @@ static void wpa_supplicant_scan(void *el
                return;
        }
  
This page took 0.025321 seconds and 4 git commands to generate.