1fb05401f8e93c5e4f98b84c4b45734d21c6a8eb
[openwrt/openwrt.git] / package / network / services / hostapd / patches / 310-rescan_immediately.patch
1 --- a/wpa_supplicant/wpa_supplicant.c
2 +++ b/wpa_supplicant/wpa_supplicant.c
3 @@ -4248,7 +4248,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;