hostapd: update to 2023-06-22
[openwrt/staging/jogo.git] / package / network / services / hostapd / patches / 450-scan_wait.patch
index e265d1ac7ca9f0f191c09a93dd7d2f1100339527..45886896ee9b3021c68d98b0cadc6072719b58a8 100644 (file)
  
  /**
   * hostapd_driver_init - Preparate driver interface
-@@ -164,6 +174,8 @@ static int hostapd_driver_init(struct ho
-               return -1;
+@@ -217,6 +227,8 @@ static int hostapd_driver_init(struct ho
        }
+ #endif /* CONFIG_IEEE80211BE */
  
 +      hapd->setup_complete_cb = hostapd_setup_complete_cb;
 +
        /* Initialize the driver interface */
        if (!(b[0] | b[1] | b[2] | b[3] | b[4] | b[5]))
                b = NULL;
-@@ -407,8 +419,6 @@ static void hostapd_global_deinit(const
+@@ -497,8 +509,6 @@ static void hostapd_global_deinit(const
  #endif /* CONFIG_NATIVE_WINDOWS */
  
        eap_server_unregister_methods();
@@ -42,7 +42,7 @@
  }
  
  
-@@ -434,18 +444,6 @@ static int hostapd_global_run(struct hap
+@@ -524,18 +534,6 @@ static int hostapd_global_run(struct hap
        }
  #endif /* EAP_SERVER_TNC */
  
@@ -61,7 +61,7 @@
        eloop_run();
  
        return 0;
-@@ -649,8 +647,7 @@ int main(int argc, char *argv[])
+@@ -739,8 +737,7 @@ int main(int argc, char *argv[])
        struct hapd_interfaces interfaces;
        int ret = 1;
        size_t i, j;