Root/package/network/services/hostapd/patches/610-max_num_sta_probe.patch

1--- a/src/ap/beacon.c
2+++ b/src/ap/beacon.c
3@@ -413,6 +413,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;
14

Archive Download this file



interactive