hostapd: update to version 2013-11-20
[openwrt/staging/dedeckeh.git] / package / network / services / hostapd / patches / 480-max_num_sta_probe.patch
1 --- a/src/ap/beacon.c
2 +++ b/src/ap/beacon.c
3 @@ -501,6 +501,10 @@ void handle_probe_req(struct hostapd_dat
4 return;
5 }
6
7 + if (!sta && hapd->num_sta >= hapd->conf->max_num_sta)
8 + wpa_printf(MSG_MSGDUMP, "Probe Request from " MACSTR " ignored,"
9 + " too many connected stations.", MAC2STR(mgmt->sa));
10 +
11 #ifdef CONFIG_INTERWORKING
12 if (elems.interworking && elems.interworking_len >= 1) {
13 u8 ant = elems.interworking[0] & 0x0f;