310-rescan_immediately.patch 375 B

1234567891011
  1. --- a/wpa_supplicant/wpa_supplicant.c
  2. +++ b/wpa_supplicant/wpa_supplicant.c
  3. @@ -3696,7 +3696,7 @@ wpa_supplicant_alloc(struct wpa_supplica
  4. if (wpa_s == NULL)
  5. return NULL;
  6. wpa_s->scan_req = INITIAL_SCAN_REQ;
  7. - wpa_s->scan_interval = 5;
  8. + wpa_s->scan_interval = 1;
  9. wpa_s->new_connection = 1;
  10. wpa_s->parent = parent ? parent : wpa_s;
  11. wpa_s->p2pdev = wpa_s->parent;