hostapd: update to 2011-04-21
[openwrt/openwrt.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 = 0;
9 wpa_s->new_connection = 1;
10 wpa_s->parent = wpa_s;
11