wpa_supplicant: increase the time between scans to reduce the number of hw resets...
[openwrt-10.03/.git] / package / hostapd / patches / 530-rescan_immediately.patch
1 --- a/wpa_supplicant/wpa_supplicant.c
2 +++ b/wpa_supplicant/wpa_supplicant.c
3 @@ -2070,7 +2070,7 @@ static struct wpa_supplicant * wpa_suppl
4         if (wpa_s == NULL)
5                 return NULL;
6         wpa_s->scan_req = 1;
7 -       wpa_s->scan_interval = 5;
8 +       wpa_s->scan_interval = 1;
9         wpa_s->new_connection = 1;
10         wpa_s->parent = wpa_s;
11